Is there a way to improve Prettier-ignore a block of code graphql function automatically? #9787
Unanswered
ducanh4531
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.
-
I got this message: "The query argument is unknown! Please regenerate the types." when I reformatted my code and saved files.
Here is my *.graphql file in the document folder:
And here is the source I got as I am using the graphql function in other file:
Before using prettier - and I got no error:
After using prettier - and I got error:
Currently I just added // prettier-ignore to ignore that block of code so I can avoid that message. I'm curious about that is there other way to fix it?
Beta Was this translation helpful? Give feedback.
All reactions