Skip to content

Commit ee3ec22

Browse files
authored
Upgrade smithy version to 1.54.0 (#1540)
* Upgrade smithy version to 1.54.0 * fix CI errors realted to Multiselect List
1 parent 5aeb781 commit ee3ec22

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
smithyVersion=1.53.0
1+
smithyVersion=1.54.0
22
smithyGradleVersion=1.2.0

smithy-typescript-codegen/src/test/java/software/amazon/smithy/typescript/codegen/CommandGeneratorTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void writesOperationContextParamValues() {
4646
"opContextParamWildcardExpressionListObj: { type: \"operationContextParams\", get: (input?: any) => input?.fooListObj?.map((obj: any) => obj?.key) }",
4747
"opContextParamWildcardExpressionListObjListFlatten: { type: \"operationContextParams\", get: (input?: any) => input?.fooListObjList?.map((obj: any) => obj?.key).flat() }",
4848
"opContextParamWildcardExpressionHash: { type: \"operationContextParams\", get: (input?: any) => Object.values(input?.fooObjObj ?? {}).map((obj: any) => obj?.bar) }",
49-
"opContextParamMultiSelectList: { type: \"operationContextParams\", get: (input?: any) => input?.fooListObjObj?.map((obj: any) => [obj?.fooList[0],obj?.fooObject?.bar,obj?.fooString].filter((i) => i)) }",
49+
"opContextParamMultiSelectList: { type: \"operationContextParams\", get: (input?: any) => input?.fooListObjObj?.map((obj: any) => [obj?.fooObject?.bar,obj?.fooString].filter((i) => i)) }",
5050
"opContextParamMultiSelectListFlatten: { type: \"operationContextParams\", get: (input?: any) => input?.fooListObjObj?.map((obj: any) => [obj?.fooList].filter((i) => i).flat()) }",
5151
"opContextParamKeys: { type: \"operationContextParams\", get: (input?: any) => Object.keys(input?.fooKeys ?? {}) }",
5252
}

smithy-typescript-codegen/src/test/resources/software/amazon/smithy/typescript/codegen/endpointsV2/endpoints-operation-context-params.smithy

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ service Example {
5151
"opContextParamWildcardExpressionListObj": { path: "fooListObj[*].key" }
5252
"opContextParamWildcardExpressionListObjListFlatten": { path: "fooListObjList[*].key[]" }
5353
"opContextParamWildcardExpressionHash": { path: "fooObjObj.*.bar" }
54-
"opContextParamMultiSelectList": { path: "fooListObjObj[*].[fooList[0], fooObject.bar, fooString]" }
54+
"opContextParamMultiSelectList": { path: "fooListObjObj[*].[fooObject.bar, fooString]" }
5555
"opContextParamMultiSelectListFlatten": { path: "fooListObjObj[*].[fooList][]" }
5656
"opContextParamKeys": { path: "keys(fooKeys)" }
5757
)

0 commit comments

Comments
 (0)