mutation {
createUser(createUserInput: {
email: "testuser@test.com",
password: "TestPassword123!"
}) {
_id
email
}
}
query {
users {
_id
email
}
}
query {
user(_id: "65d3e14581c836658ad266a3") {
_id
email
}
}
mutation {
updateUser(updateUserInput: {
_id: "65d3e14581c836658ad266a3",
email: "someotheremail@test.com",
password: "someotherpassword"
}) {
_id
email
}
}