mutation {
createUser(createUserInput: {
email: "[email protected]",
password: "TestPassword123!"
}) {
_id
email
}
}
query {
users {
_id
email
}
}
query {
user(_id: "65d3e14581c836658ad266a3") {
_id
email
}
}
mutation {
updateUser(updateUserInput: {
_id: "65d3e14581c836658ad266a3",
email: "[email protected]",
password: "someotherpassword"
}) {
_id
email
}
}