hi all. I'm trying to query my User type on my `co...
# prisma-whats-new
c
hi all. I'm trying to query my User type on my
confirmToken
field, but even in the playground I am getting a 'unknown argument "confirmToken" on field "User" of type query. Here is my query:
Copy code
query MyQuery{
  User(confirmToken: "email"){
    id
  }
}
And my schema
Copy code
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?