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-mesh
instance deployed and is working correctly.In projects we have set up
graphql-codegen
which generates Typescript file based on schema exposed bygraphql-mesh
instance.We have an issue where Typescript enum member is generated with an empty name.
index.mjs
built by mesh:Schema:
Result of codegen:
I'm checking docs of both
graphql-mesh
andgraphql-codegen
to 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