-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(cfnspec): should be able to handle types changing from Json
to type
#21767
Comments
Json
to type
A solution we are working on (thanks to @rix0rrr for proposing this):
"At most" vs "exactly" depends on whether the original property was optional or required. Once we have this in place, we can add the |
Looks like, that the new type will generate an additional dataclass. Before the patch it is In that case we could benefit with typing and autocompletion. |
This issue also effects: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-backup-backupselection-conditionparameter.html I use Java CDK:
Results in camelCase yaml output. |
internal P133761646 |
Overview
Sometimes a property type in the cfnspec is set to
Json
which means that it accepts any JSON value. If a service team ever adds actual types for this property it is not a breaking change on their side, but it does lead to breaking changes for us. Our current workaround is to add a patch which keeps the value asJson
which is not ideal.Issue list
Type Change
List of Properties that have changed from
Json
to a typeThe text was updated successfully, but these errors were encountered: