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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to add a logout mutation to my user resolver. All of the other mutations in the resolver have generated the schema.
When I run the script to generate the schema with the additional logout mutation, I get an error that says:
AggregateError: GraphQL Document Validation failed with 1 errors;
Error 0: GraphQLDocumentError: Cannot query field "logout" on type "Mutation".
I am looking for sources that I can investigate for what I can do to get the generator to run. Any suggestions would be gratefully received.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions