Any clue as to why I’m getting this error? ``` ...
# orm-help
j
Any clue as to why I’m getting this error?
Copy code
"message": "Variable \"$_v0_data\" got invalid value { activationToken: \"b6f9bbcf6e798a87fc65c50b6d8519f3514161b6\", activationTokenExpiry: 1548952935887 }; Field value.email of required type String! was not provided.\nVariable \"$_v0_data\" got invalid value { activationToken: \"b6f9bbcf6e798a87fc65c50b6d8519f3514161b6\", activationTokenExpiry: 1548952935887 }; Field value.password of required type String! was not provided."
Here’s my schema.graphql:
Copy code
# import * from './generated/prisma-client/prisma.graphql'

type SuccessMessage {
  message: String
}

type Mutation {
  createProperty(title: String, url: String): Property!
 
  signup(email: String!): SuccessMessage
 
  accountActivation(activationToken: String!, url: String, name: String, password: String!, passwordConfirmation: String! ): User!
 
  signin(email: String!, password: String!): User!
  signout: SuccessMessage
  
  requestPasswordReset(email: String!): SuccessMessage
  resetPassword(resetToken: String!, password: String!, passwordConfirmation: String!): User!
}

type Query {
  properties: [Property]!
  currentUser: User
}


type User {
  id: ID!
  name: String!
  email: String!
  permissions: [Permission!]!
}
And here’s my query on the client side:
Copy code
const SIGNUP_MUTATION = gql`
  mutation SIGNUP_MUTATION($email: String!) {
    signup(email: $email) {
      message
    }
  }
`;