-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
docs(cancel): add graphql-request example #2948
docs(cancel): add graphql-request example #2948
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/tanstack/react-query/B5Jar7gZ5ncF4xtaYntyXaioa2Um |
Codecov Report
@@ Coverage Diff @@
## master #2948 +/- ##
=======================================
Coverage 96.40% 96.40%
=======================================
Files 45 45
Lines 2227 2227
Branches 637 637
=======================================
Hits 2147 2147
Misses 77 77
Partials 3 3 Continue to review full report at Codecov.
|
thank you. do you know if there are other graphql fetching libs that would support it right now? Like maybe @urql/core? |
New graphq-request PR to support a |
I have not found in the |
oh wow, you already PR'ed to graphql-request 🚀 should we wait with this docs until it lands, or should we merge this doc PR right away? |
😁 I'll update the doc when the graphql-request PR will be merged in another RQ PR. |
🎉 This PR is included in version 3.33.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
It is possible to set an
AbortSignal
in theGraphQLClient
constructor.But unfortunately, it is not possible to define a
signal
per request:graffle-js/graffle#182
It means that the GraphQL Code Gen React Query plugin cannot support a
signal
for the moment with graphql-request 😔The solution is to: