I am trying to write a mutation to my GraphQL server and I keep getting an error:
{"errors":[{"message":"Field \"userCreate\" argument \"user\" of type \"UserInput!\" is required but not provided.","locations":[{"line":1,"column":24}]}]}
And the error in the console is as follows:
TypeError: Cannot read property 'user' of undefined
I am trying to write a mutation to my GraphQL server and I keep getting an error: {"errors":[{"message":"Field \"userCreate\" argument \"user\" of type \"UserInput!\" is required but not provided.","locations":[{"line":1,"column":24}]}]} And the error in the console is as follows: TypeError: Cannot read property 'user' of undefined