Last active
February 8, 2017 19:43
-
-
Save donedgardo/14616ba33d6a1e1953e04efd57df4c07 to your computer and use it in GitHub Desktop.
ES 6 Article
This file contains 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
`# Our Schema allows these mutations | |
type Mutation { | |
# Update Food Truck Image | |
updateFoodTruckImage(foodTruckId: ID!, image:String ): FoodTruck | |
# Update Food Truck Logo | |
updateFoodTruckLogo(foodTruckId: ID!, logo:String ): FoodTruck | |
# Update Food Truck Name | |
updateFoodTruckName(foodTruckId: ID!, name:String ): FoodTruck | |
... | |
... and so on with each field! (I'm too lazy to keep doing this ;) | |
}` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment