puffancs
12/02/2017, 1:41 PMexport const CREATE_USER_MUTATION = gpl`
mutation CreateUserMutation($email: String!, $password: String!, $name: String!) {
signupUser(
email: $email,
password: $password
name: $name,
) {
id
}
authenticateUser(
email: $email,
password: $password
) {
id
token
}
}
`;
(I was following the howtographql tutorial with angular but it did not work, now it does and I would like to confirm that my understanding is correct)