(core): formatAnalytics is documented as supporting plaintext but doesn't #28254
Labels
@aws-cdk/core
Related to core CDK functionality
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/core/lib/private/metadata-resource.ts#L65 suggests there's an option to have the analytics format be plaintext rather than compressed. I can't find any other references to
v2:plaintext
in the codebase.Expected Behavior
Current Behavior
Docstring doesn't describe code
Reproduction Steps
Possible Solution
I'm unsure if the code is wrong or if the docstring is wrong, someone who knows the project better than me would have to make that call.
Additional Information/Context
I found this while trying to debug an issue with the metadata "flipping" back and forward on the same code from two different developers. Plaintext would be really helpful here since a deflate64 string is basically useless in
cdk diff
CDK CLI Version
2.113.0 (build ccd534a)
Framework Version
No response
Node.js Version
v18.17.1
OS
Windows 11
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: