- type Query {
- products(lang: LanguageCode): [Product]
- product(id: Int!, lang: LanguageCode): Product
- }
- type Mutation {
- "Create a new Product"
- createProduct(input: CreateProductInput): Product
- "Update an existing Product"
- updateProduct(input: UpdateProductInput): Product
- }
|