Default mutation function using key #7442
Unanswered
honzahruby
asked this question in
Ideas
Replies: 2 comments 1 reply
-
@TkDodo any idea why it's so? 🙏 |
Beta Was this translation helpful? Give feedback.
0 replies
-
we don't pass anything to the mutationFn because the mutationFn takes |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Similar to the default query function, we'd love the ability for the default mutation function to access the mutation key. Currently, it can only access the variables passed by the user.
Is it a conscious decision, given the mutation key is optional, while in queries it's required? Or is it something to consider adding? 🙏
Beta Was this translation helpful? Give feedback.
All reactions