matty_fresh
10/05/2017, 6:58 PMmutation CreateVoteMutation($userId: ID!, $linkId: ID!) {
createVote(userId: $userId, linkId: $linkId) {
id
link {
votes {
id
user {
id
}
}
}
user {
id
}
}
}
How does graphcool know what to do with userId
and linkId
in this query??