Last active
June 12, 2017 21:58
-
-
Save jmn8718/96a9bf7b38644e1b1f680606bc660632 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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