timnovis
12/16/2017, 1:52 PMGraphQL error: Cannot query field 'token' on type 'User'.. My mutation is this:
mutation SignupUserMutation(
$email: String!
$password: String!
$username: String
) {
createUser(authProvider: {
email: {
email: $email,
password: $password,
},
}, username: $username) {
id
token
}
}rajit
12/16/2017, 3:26 PMcreateUser mutation is just CRUD for User. At least it is for me. I have a resolver function signupUser that returns a token. If you check your schema, maybe you have another mutation that returns a token?