Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 7, 2020. It is now read-only.
This repository was archived by the owner on Sep 7, 2020. It is now read-only.

Unexpected error occurring on signup in the examples #572

Open
@noobling

Description

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

mutation signup {
 signupUser(
 email: "nilan@graph.cool"
 password: "password"
 ) {
 id
 token
 }
}

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\":\"2ドルa10ドル$JNnPjn0WMlMjaTSZZorzbudQPAwauMA.U/CMEBAyFfzCInvudTxXK\"}}}\n at GraphQLClient.<anonymous> 

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

mutation signup {
 signupUser(
 email: "nilan@graph.cool"
 password: "password"
 ) {
 id
 token
 }
}

Expected behavior?

id and token is returned instead of an error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /