Created
February 16, 2026 14:30
-
-
Save nishantharcot/695ef2d32529a9a9c3352c1276bf3abb 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
| type Query { | |
| cakes: [Cake!]! | |
| cake(id: ID!): Cake | |
| } | |
| type Mutation { | |
| createCake(input: CreateCakeInput!): Cake! | |
| } | |
| type Cake { | |
| id: ID! | |
| name: String! | |
| price: Float! | |
| } | |
| input CreateCakeInput { | |
| name: String! | |
| price: Float! | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment