DEV Community

Bret
Bret

Posted on

What does this error mean???

I created abMutation,
and added it as:
...createCoffee.Mutation

At first, it dosnt work, unless I comment it out, start the servers abs then un comment it out..... then the mutation shows on the GraphQL editor, but, it dosnt exactly work when I click on “create coffee” on the client side of the form I made
‘’’

46 | // Constructs an instance of ApolloError given a GraphQLError
47 | // or a network error. Note that one of these has to be a valid
48 | // value or the constructed error will be meaningless.

49 | constructor({
| ^ 50 | graphQLErrors,
51 | networkError,
52 | errorMessage,

‘’’
And also:
‘’’

self.cache.removeOptimistic(mutationId);
234 | }
235 | self.broadcastQueries();

236 | reject(
| ^ 237 | new ApolloError({
238 | networkError: err,
239 | }),

Top comments (0)