GraphQL code generator not generating code #6538
Unanswered
CrispenGari
asked this question in
General
Replies: 2 comments
-
You have an indentation issue with
|
Beta Was this translation helpful? Give feedback.
0 replies
-
And regarding the missing code, can you please share more information? A minimal reproduction? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I've a
codegen.yml
that looks a follows:I have a script in the package.json that looks as follows:
This is my folder structure:
The
login.grahql
looks as follows:When i run
I get
yarn run v1.22.10 $ graphql-codegen Done in 12.10s.
But I don't see any generated
code
. I was following the docs. What may be possibly my problem.And also when I try to add the
config
withHooks
in theyml
file as follows my VsCode will be mad at me sayingProperty is not allowed.yaml-schema: https://www.graphql-code-generator.com/config.schema.json
Beta Was this translation helpful? Give feedback.
All reactions