mutationFn context?
Hi, I was wondering if there was a reason that the mutation context is not exposed in the mutationFn (as it is in the queryFn)?
2 Replies
ambitious-aqua•3y ago
Because there is no context like the queryFunctionContext that we can pass to it, because mutate already accepts variables of any kind
absent-sapphireOP•3y ago
Gotcha, thank you!