You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running the mutation.Vote query in the graphQL playground, but I keep getting an error, My code looks exactly the same as the one on the repo.
Here is my graphQL query
mutation {
vote(linkId: "cjx6dqv0qpywy0b51522a0bju") {
link {
idurldescription
}
user {
nameemail
}
}
}
But I keep getting these error below
{"data": {"vote": null},"errors": [{"message": "Variable '$data' expected value of type 'VoteCreateInput!' but got: {\"user\":{\"connect\":{\"id\":\"cjx6dnszyemtp0b611ur27uqz\"}},\"link\":{\"connect\":{\"id\":\"cjx6dqv0qpywy0b5152za0bju\"}}}. Reason: 'Link' Expected non-null value, found null. (line 1, column 11):\nmutation ($data: VoteCreateInput!) {\n ^","locations": [{"line": 2,"column": 3}],"path": ["vote"]}]}
The text was updated successfully, but these errors were encountered:
I tried running the mutation.Vote query in the graphQL playground, but I keep getting an error, My code looks exactly the same as the one on the repo.
Here is my graphQL query
But I keep getting these error below
The text was updated successfully, but these errors were encountered: