My question:
Hi guys, I’m new to GraphQL. I’m just trying to filter a get response based on my graphql query. The endpoint I’m using is https://petstore.swagger.io/v2/store/inventory
The API structure and the Query is what I’ve created myself. What I’m expecting is when I run the query it would just return the sold field value but it’s still returning all the fields from the API. Can anyone tell me what I’m doing wrong here? Thanks.
Details (like screenshots):
API Structure
Query and Results
How I found the problem:
I’ve already tried: