Skip to content

[Bugfix] Escape enum literals starting with underscore#329

Merged
budde377 merged 1 commit intoheftapp:mainfrom
astubenbord:main
Dec 7, 2023
Merged

[Bugfix] Escape enum literals starting with underscore#329
budde377 merged 1 commit intoheftapp:mainfrom
astubenbord:main

Conversation

@astubenbord
Copy link
Copy Markdown
Contributor

I've noticed that enum literals remain private when the enum literals are prefixed with an underscore in the graphql schema.

This PR adds functionality which escapes enum literals starting with an underscore just like property names.

@budde377
Copy link
Copy Markdown
Contributor

budde377 commented Dec 7, 2023

Great catch! Thanks for submitting.

@budde377 budde377 merged commit f176aec into heftapp:main Dec 7, 2023
@astubenbord
Copy link
Copy Markdown
Contributor Author

Great, glad I could help and thanks for your work, very useful project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants