OBJECT
Mutation
The root query for implementing GraphQL mutations.
link GraphQL Schema definition
- type Mutation {
- # Add a new dish.
- #
- # Arguments
- # input:
- (: DishInput!): Dish!
- # Remove a dish by its ID or name along with its records.
- #
- # Arguments
- # id: The ID of the dish.
- # name: The name of the dish.
- (: ID, : String): Dish!
- # Add a record of an eaten dish.
- #
- # Arguments
- # input:
- (: RecordInput!): Record!
- # Remove a record of an eaten dish.
- #
- # Arguments
- # input:
- (: RecordInput!): Record
- }
link Require by
This element is not required by anyone