How to pass props to defineMutation?
#387
-
|
We can pass params to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
You can either:
Second solution is endorsed by the creator if you actually need to pass arguments into the "composable": #245 (comment). |
Beta Was this translation helpful? Give feedback.
You can either:
Define vars in the
mutationparameter and pass them each time you call themutateormutateAsyncmethod: PlaygroundJust don't use
defineMutation: Playground