Skip to content

Instantly share code, notes, and snippets.

@donedgardo
Created February 8, 2017 22:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save donedgardo/fa7fa1692f6157840d17e08993cee366 to your computer and use it in GitHub Desktop.
Save donedgardo/fa7fa1692f6157840d17e08993cee366 to your computer and use it in GitHub Desktop.
ES6 Article
`mutation UpdateTruck($update: FoodTruckUpdateInput!) {
updateFoodTruck(input: $update){
logo
name
location
}
}
# Query Variables
{
"update": {
"foodTruckId": "5866decfaf328d53cd228edb",
"logo": "changed.png",
"name": "FoodTruck Updated 2",
"location": [
33.4424,
-21.222
]
}
}
`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment