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 11import { Handler , MiddlewareStack } from "./middleware" ;
22import { MetadataBearer } from "./response" ;
3- import { OperationSchema } from "./schema/schema" ;
43
54/**
65 * @public
@@ -14,7 +13,11 @@ export interface Command<
1413> extends CommandIO < InputType , OutputType > {
1514 readonly input : InputType ;
1615 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 ;
1821
1922 resolveMiddleware (
2023 stack : MiddlewareStack < ClientInput , ClientOutput > ,
You can’t perform that action at this time.
0 commit comments