Use graphql-codegen with fetch api in Nextjs 14 #9757
-
Hi, in my old configuration with
Now, I'm moving away from
The
I want to get the query in the generated file without the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Can you share a reproduction we can run? Maybe in a repo or better in CodeSandbox? |
Beta Was this translation helpful? Give feedback.
I finally resolved it using the DocumentMode. It's a line of config that was needed. Thanks for the guides!