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
feat: meta to Mutation #2906
feat: meta to Mutation #2906
Conversation
the same meta that already exists in Query and is accessible in queryCache is now also usable in mutationCache and can be passed in useMutation, just as in useQuery
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/tanstack/react-query/Y4AKnKDuFACteo5PhSeWuePB7N9d |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit b464b49:
|
Codecov Report
@@ Coverage Diff @@
## master #2906 +/- ##
=======================================
Coverage 96.40% 96.40%
=======================================
Files 45 45
Lines 2226 2228 +2
Branches 636 637 +1
=======================================
+ Hits 2146 2148 +2
Misses 77 77
Partials 3 3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very good work, thank you 🚀
Reason: #2906 (comment) Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
…d of arbitrary wait times
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I totally missed that we also need to update the documentation please
b464b49 |
🎉 This PR is included in version 3.33.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
the same meta that already exists in Query and is accessible in
queryCache is now also usable in mutationCache and can be passed in
useMutation, just as in useQuery
Context: TkDodo/blog-comments#29 (comment)