File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @smithy/types " : patch
3
+ ---
4
+
5
+ fix Command interface compatibility with type transformers
Original file line number Diff line number Diff line change 1
1
import { Handler , MiddlewareStack } from "./middleware" ;
2
2
import { MetadataBearer } from "./response" ;
3
- import { OperationSchema } from "./schema/schema" ;
4
3
5
4
/**
6
5
* @public
@@ -14,7 +13,11 @@ export interface Command<
14
13
> extends CommandIO < InputType , OutputType > {
15
14
readonly input : InputType ;
16
15
readonly middlewareStack : MiddlewareStack < InputType , OutputType > ;
17
- readonly schema ?: OperationSchema ;
16
+ /**
17
+ * This should be OperationSchema from @smithy/types, but would
18
+ * create problems with the client transform type adaptors.
19
+ */
20
+ readonly schema ?: any ;
18
21
19
22
resolveMiddleware (
20
23
stack : MiddlewareStack < ClientInput , ClientOutput > ,
You can’t perform that action at this time.
0 commit comments