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
{{ message }}
This repository was archived by the owner on Sep 7, 2020. It is now read-only.
An unexpected error occurs upon further inspection of the log this is returned
{ Error: Field 'createUser' argument 'name' of type 'String!' is required but not provided. (line 3, column 7):\n createUser(\n ^: {\"response\":{\"data\":null,\"errors\":[{\"message\":\"Field 'createUser' argument 'name' of type 'String!' is required but not provided. (line 3, column 7):\\n createUser(\\n ^\",\"locations\":[{\"line\":3,\"column\":7}]}],\"status\":200},\"request\":{\"query\":\"\\n mutation createGraphcoolUser($email: String!, $password: String!) {\\n createUser(\\n email: $email,\\n password: $password\\n ) {\\n id\\n }\\n }\\n \",\"variables\":{\"email\":\"nilan@graph.cool\",\"password\":\"$2a$10$JNnPjn0WMlMjaTSZZorzbudQPAwauMA.U/CMEBAyFfzCInvudTxXK\"}}}\n at GraphQLClient.<anonymous>
Current behavior
When following the read me for example located here: https://github.com/prisma/graphcool-framework/tree/master/examples/0.x/full-example and trying to execute this code
An unexpected error occurs upon further inspection of the log this is returned
Reproduction
Follow the read me here: https://github.com/prisma/graphcool-framework/tree/master/examples/0.x/full-example then try to execute this code
Expected behavior?
id and token is returned instead of an error.