ncaught (in promise) Invariant Violation: mutation option is required. You must specify your GraphQL document in the mutation option. code example
Example: Invariant Violation: mutation option is required. You must specify your GraphQL document in the mutation option.
client.mutate({
mutation: gql`
mutation {
addTeam(input:{name:"Somename", label:"somelabel"}) {
error
status
}
}`,
})