Intended outcome:
I'm trying to refetch some queries after the mutation and I expect them to be executed.
Actual outcome:
refetchQueries are not working as they are described in the docs
How to reproduce the issue:
mutate({
mutation: LOGIN_MUTATION,
variables: {
...values
},
refetchQueries: [USER_QUERY]
})
LOGIN_MUTATION and USER_QUERY are strings in graphql syntax. I don't see USER_QUERY gets executed after the mutation.
Intended outcome:
I'm trying to refetch some queries after the mutation and I expect them to be executed.
Actual outcome:
refetchQueries are not working as they are described in the docs
How to reproduce the issue:
LOGIN_MUTATION and USER_QUERY are strings in graphql syntax. I don't see USER_QUERY gets executed after the mutation.