GraphQL - Mutations
Consider the input type:
and query:
What will be the result if you call the query with
input FilterInput { minPrice: Float, maxPrice: Float }and query:
query getProducts($filter: FilterInput) { products(filter: $filter) { id price } }What will be the result if you call the query with
{ "filter": { "minPrice": 20 } }?