-
In https://the-guild.dev/graphql/codegen/docs/guides/react-vue#appendix-i-react-query-with-a-custom-fetcher-setup we see the following example of hook:
Two questions:
is this something I should Ignore?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Regarding (1): Since the document never changes at runtime, you can simply ignore this issue and add an ignore! Would you like to send a PR for updating this in the docs? Regarding (2): AFAIK We have a full runnable example over here: https://github.com/dotansimha/graphql-code-generator/tree/master/examples/react/tanstack-react-query |
Beta Was this translation helpful? Give feedback.
Regarding (1): Since the document never changes at runtime, you can simply ignore this issue and add an ignore! Would you like to send a PR for updating this in the docs?
Regarding (2): AFAIK
queryKey[1]
should be the variables.We have a full runnable example over here: https://github.com/dotansimha/graphql-code-generator/tree/master/examples/react/tanstack-react-query