coolboyjules
09/30/2017, 8:31 PMconfirmToken
field, but even in the playground I am getting a 'unknown argument "confirmToken" on field "User" of type query. Here is my query:
query MyQuery{
User(confirmToken: "email"){
id
}
}
And my schema
type User implements Node {
createdAt: DateTime!
email: String @isUnique
firstName: String!
lastName: String!
id: ID! @isUnique
password: String
updatedAt: DateTime!
confirmToken: String!
confirmExpires: DateTime!
}
The only fields I can query are id
and email
. Am I doing something wrong?