aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

CDK: allow comments in context.json (via jsonc?)

Open kidbrax opened this issue 1 year ago • 1 comments

Describe the feature

I would like to be able to leave comments in the context.json file. Possibly by allowing jsonc files.

Use Case

To be able to leave useful comments in the cdk.json file for other developers to see.

Proposed Solution

Allow jsonc files as context files

Other Information

This would be an alternative to https://github.com/aws/aws-cdk/issues/15529

Acknowledgements

  • [X] I may be able to implement this feature request
  • [X] This feature might incur a breaking change

CDK version used

2.142.0

Environment details (OS name and version, etc.)

MacOS 14.4.1

kidbrax avatar Jun 26 '24 19:06 kidbrax

@kidbrax thanks for reaching out. sounds useful to have.

khushail avatar Jun 26 '24 20:06 khushail