graphql-code-generator-community
graphql-code-generator-community copied to clipboard
typescript-react-query: expose `useQuery` `queryClient` parameter with v5
Is your feature request related to a problem? Please describe.
In v5, useQuery()
has a second parameter for the queryClient
. It's not exposed in the generated hooks.
Describe the solution you'd like
Generated hooks should match the useQuery
signature and allow to set the queryClient
parameter