Skip to content

Instantly share code, notes, and snippets.

@lu911
Created December 9, 2016 07:30
Show Gist options
  • Save lu911/7013e0cda88895d3704327cd77b9a3a9 to your computer and use it in GitHub Desktop.
Save lu911/7013e0cda88895d3704327cd77b9a3a9 to your computer and use it in GitHub Desktop.
Mutation Execute
fragment userAllFields on User {
id
name
age
gender
}
mutation {
createUser(name: "test", age: 11, gender: FEMALE) {
ok
user {
...userAllFields
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment