An incorrect type generation #6741
Unanswered
JustFly1984
asked this question in
Q&A
Replies: 1 comment 6 replies
-
Could you try |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in schema.graphql I have next types:
then I run
graphql-codegen --config codegen.yml
I get incorrect types generated next:
I had to edit generated types to the next form to satisfy typescript logic:
Is it possible to get this behavior from type generator somehow?
My use-case is next.js react.js apollo client app.
Thank you for the great tool!
Beta Was this translation helpful? Give feedback.
All reactions