Repository navigation
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.
|
TkDodo
left a comment
There was a problem hiding this comment.
very good work, thank you 🚀
Reason: #2906 (comment) Co-authored-by: Dominik Dorfmeister <office@dorfmeister.cc>
…d of arbitrary wait times
TkDodo
left a comment
There was a problem hiding this comment.
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)