-
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
S3BucketBuildArtifacts ignoring "withIncludeBuildId" value #1347
Comments
I made a minimal reproduction using the sample you provided (thanks for that!) and it looks like there is a bug. Running |
Found the issue to stem from how the property is named in TypeScript, which causes the dynamic override to be on an other name. |
The property name ending with `ID` caused a mismatch of names to appear in non-TypeScript languages, as the name translation rules would convert back to `Id`. BREAKING CHANGE: the `includeBuildID` property of `S3BucketBuildArtifacts` was renamed to `includeBuildId` (note the lower-case trailing `d`). Fixes #1347
The property name ending with `ID` caused a mismatch of names to appear in non-TypeScript languages, as the name translation rules would convert back to `Id`. BREAKING CHANGE: the `includeBuildID` property of `S3BucketBuildArtifacts` was renamed to `includeBuildId` (note the lower-case trailing `d`). Fixes #1347
Created an issue on JSII side to address the suboptimal behavior of the Java code generation that, if fixed, would have made this issue much faster to identify and fix. |
…cts (#1354) The property name ending with `ID` caused a mismatch of names to appear in non-TypeScript languages, as the name translation rules would convert back to `Id`. BREAKING CHANGE: the `includeBuildID` property of `S3BucketBuildArtifacts` was renamed to `includeBuildId` (note the lower-case trailing `d`). Fixes #1347
Hello, Thanks for any help! |
No, the correct name is still |
This is odd. |
I would prefer to wait for @RomainMuller to get back from holidays as he has more state on this issue and will be able to diagnose/validate the situation quicker. |
Hello, sorry about that - This can be closed. My CDK application referenced the new version but when built was still pulling in the old version. Bad IDE'ing on my part. Once corrected, this issue is no longer present. Thanks for tolerating my dumbassery. |
No problem, glad to hear it got solved! |
When creating an S3BucketBuildArtifacts instance, using the S3BucketBuildArtifactsProps.builder() methods, specifically the
withIncludeBuildId
, it doesn't matter if I set the property totrue
orfalse
. When I executecdk synth
on my Stack, the Artifact always indicates aNamespaceType: BUILD_ID
. I'd like that to be "None".Code snippet:
Thanks for any help/advice.
The text was updated successfully, but these errors were encountered: