Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useTypedQuery doesn't set response type #372

Open
larevalos opened this issue May 10, 2023 · 1 comment
Open

useTypedQuery doesn't set response type #372

larevalos opened this issue May 10, 2023 · 1 comment

Comments

@larevalos
Copy link

larevalos commented May 10, 2023

Documentation https://graphqleditor.com/docs/tools/zeus/plugins/react-query/ says that when using useTypedQuery the response will be typed automatically but is not.

image

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 tried npx zeus@latest schema .\generatedFolder --reactQuery

@larevalos
Copy link
Author

I have found this PR #371 solve this problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant