Replies: 2 comments
-
Graphql code gen is used to generate muation result + variables. |
Beta Was this translation helpful? Give feedback.
0 replies
-
So, basically you need to pass two generic arguments to 'useMutation' function: mutation result and mutation variables |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What would be the correct way to tell typescript, that
Variables
is the interface for the arguments ofmyMutation
function?I want to avoid using myMutation like this:
This is a copy of: https://stackoverflow.com/questions/63355461/mutation-typings-in-vue-apollo-v4-and-composition-api
Beta Was this translation helpful? Give feedback.
All reactions