Replies: 1 comment
-
You can customize some aspects of the generated code (like, the hook used), but note that the signature must be the same. |
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.
-
Before using graphql-codegen we used a custom hook to wrap around
useQuery
hook from react-query which included default options such asstaleTime
,enabled
etc.Is it possible to use a custom hook when generating hooks or include predefined query options for each generated hook to contain?
Beta Was this translation helpful? Give feedback.
All reactions