Skip to content

Instantly share code, notes, and snippets.

@jmn8718
Last active June 12, 2017 21:58
Show Gist options
  • Save jmn8718/96a9bf7b38644e1b1f680606bc660632 to your computer and use it in GitHub Desktop.
Save jmn8718/96a9bf7b38644e1b1f680606bc660632 to your computer and use it in GitHub Desktop.
mutation CreateDevice($name: String! $location: LocationInput!){
createDevice(name:$name location: $location) {
id
name
location {
lat
lng
}
}
}
With the values:
{
"name": "test create device",
"location": {
"lat": 63.0,
"lng": 45.3
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment