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

fix: never preserve underscores for enum values #75

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

sebvilhelm
Copy link
Contributor

A fix for #61

In @graphql-codegen/typescript enum values never preserve underscores, as a conscious decision: dotansimha/graphql-code-generator#1569

This fix aligns with that decision.

@sebvilhelm
Copy link
Contributor Author

@ardeois if you have time to review this, I would appreciate it, so my previous changes better align with the typescript plugin 😄

@sebvilhelm sebvilhelm force-pushed the change-case-for-enum-values branch from 03e9bc3 to 2944a4a Compare March 4, 2022 10:08
Copy link
Owner

@ardeois ardeois left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good !

@ardeois
Copy link
Owner

ardeois commented Mar 4, 2022

@VilhelmNielsen sorry for the delay, it seems good, merging in a few seconds

@ardeois ardeois added the patch Increment the patch version when merged label Mar 4, 2022
@ardeois ardeois merged commit 44df0e6 into ardeois:main Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants