Skip to content
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

feat(go): preserve casing of enum member names #2598

Merged
merged 3 commits into from
Feb 25, 2021

Conversation

RomainMuller
Copy link
Contributor

As suggested in aws/aws-cdk-rfcs#292, using _ to separate the constant
name from the type name, and preserving the constant's casing results in
an API that is slightly more readable, and less prone to namespace
collisions.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

As suggested in aws/aws-cdk-rfcs#292, using `_` to separate the constant
name from the type name, and preserving the constant's casing results in
an API that is slightly more readable, and less prone to namespace
collisions.
@RomainMuller RomainMuller added language/go Regarding GoLang bindings effort/small Small work item – less than a day of effort pr/do-not-merge This PR should not be merged at this time. module/pacmak Issues affecting the `jsii-pacmak` module contribution/core This is a PR that came from AWS. labels Feb 23, 2021
@RomainMuller RomainMuller requested a review from a team February 23, 2021 13:49
@RomainMuller RomainMuller self-assigned this Feb 23, 2021
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-6Jw05QLuWWwe
  • Commit ID: 0ebf80d
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@RomainMuller RomainMuller merged commit efdc165 into main Feb 25, 2021
@RomainMuller RomainMuller deleted the rmuller/go-enum-member-names branch February 25, 2021 09:13
This was referenced Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution/core This is a PR that came from AWS. effort/small Small work item – less than a day of effort language/go Regarding GoLang bindings module/pacmak Issues affecting the `jsii-pacmak` module pr/do-not-merge This PR should not be merged at this time.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants