union ..........
Need use ... on
mutation {
authenticate(
input: {
native: { username: "test@vendure.io", password: "test" }
}
rememberMe: true
) {
... on CurrentUser {
id
identifier
channels {
id
token
code
permissions
}
}
... on InvalidCredentialsError {
message
}
}
}