-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(custom-resources): does not accept strings where numbers are expe…
…cted, skips recursive types (#27112) AWS SDK v3 strictly validates numeric types, as opposed to v2, which allowed, for example, "123" to be passed where an integer was expected. This script adds all attributes of a numeric type ("byte", "short", "integer", "long", "bigInteger", "float", "double" and "bigDecimal") to a new type coercion map. It also compacts the map by trimming each part of the path to its unique prefix among all the paths in its operation. We also change the data structure from a list of paths (forming a tree) to a graph/state machine. This is necessary in order to support self-recursive types, which can loop arbitrarily and therefore cannot be represented in fixed length prefix lists. See aws/aws-sdk-js-v3#5198 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
- Loading branch information
1 parent
06ff205
commit 8e21b2c
Showing
330 changed files
with
66,957 additions
and
80,052 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
....snapshot/asset.51fc32183f8be2ed4acc5164067a61d6763acbd372aeba432deb95b9ac5b5038/index.js
This file was deleted.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
....snapshot/asset.e5178afc49b7c6a85127a67856ce958e4f0879ce6aad5e974cac2a088bf939db/index.js
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
...t/lambda/integ.deployment-config.js.snapshot/aws-cdk-codedeploy-lambda-config.assets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
161 changes: 0 additions & 161 deletions
161
...9f77d2e9161f4799d4facb1cb8859134a40234014484b4911e924c169c9cb/aws-sdk-v2-handler/index.js
This file was deleted.
Oops, something went wrong.
139 changes: 0 additions & 139 deletions
139
...9f77d2e9161f4799d4facb1cb8859134a40234014484b4911e924c169c9cb/aws-sdk-v3-handler/index.js
This file was deleted.
Oops, something went wrong.
35 changes: 0 additions & 35 deletions
35
...cb1cb8859134a40234014484b4911e924c169c9cb/aws-sdk-v3-handler/v2-to-v3/client-names-map.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.