GraphQL - Mutations
Given the input type:
and mutation:
What happens if you call this mutation with
input ProductInput { name: String!, price: Float }and mutation:
mutation addProduct($product: ProductInput!) { createProduct(input: $product) { id name } }What happens if you call this mutation with
{ "product": { "price": 10.5 } }?