GraphQL client and GraphQL code generator with GraphQL autocomplete library generation ⚡⚡⚡ for browser,nodejs and react native ( apollo compatible )
1.95k
stars
106
forks
source link
useTypedQuery doesn't set response type #372
Open
larevalos opened 1 year ago
Documentation https://graphqleditor.com/docs/tools/zeus/plugins/react-query/ says that when using
useTypedQuery
the response will be typed automatically but is not.Only when I use the
Chain
client the response is typed, but I want to use useTypedQuery so I can take advantage of the useQuery from react.I generated zeus files with
npx zeus schema .\generatedFolder --reactQuery
and I also triednpx zeus@latest schema .\generatedFolder --reactQuery