Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Write your query or mutation here
- query me {
- me {
- id
- firstName
- }
- }
- query users{
- users{
- id
- firstName
- lastName
- email
- created
- updated
- }
- }
- mutation register {
- register(
- firstName: "Toan"
- lastName: "Nguyen Dinh"
- email: "toan@tabvn.com"
- password: "admin"
- ){
- id
- firstName
- lastName
- email
- created
- updated
- }
- }
- mutation updateUser{
- updateUser(id:1, input: {firstName: "Toan", lastName:"Nguyen Dinh 1", email: "toan@tabvn.com"}){
- id
- firstName
- lastName
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement