Do you support graphql? #122
Answered
by
DamianOsipiuk
adiazarya100
asked this question in
Q&A
-
I'm using graphql and I wonder if I can use it with vue-query. tnx |
Beta Was this translation helpful? Give feedback.
Answered by
DamianOsipiuk
Feb 4, 2022
Replies: 1 comment
-
Hi, As of |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DamianOsipiuk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Since
vue-query
usesreact-query/core
under the hood almost all of the features of react-query are supported, including protocol agnostic data fetching.So yes you can use graphql.
As of
graphql-code-generator
you could probably modify thereact-query
one to use different imports as signature of hooks are almost exactly the same.