Enum member generated with empty name #2848
Unanswered
gradisarjoze
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a
graphql-meshinstance deployed and is working correctly.In projects we have set up
graphql-codegenwhich generates Typescript file based on schema exposed bygraphql-meshinstance.We have an issue where Typescript enum member is generated with an empty name.
index.mjsbuilt by mesh:Schema:
Result of codegen:
I'm checking docs of both
graphql-meshandgraphql-codegento find how I could fix this issue directly with configuration and I'm not really coming up with a whole lot.Is there any way to handle such enums? Is there any way to prepend enum member names?
Beta Was this translation helpful? Give feedback.
All reactions