Suppose I have a gql query that looks like this:
"query category($id: Int!, $pageSize: Int!, $currentPage: Int!) {
category(id: $id) {
id
description
name
}
products(pageSize: $pageSize, currentPage: $currentPage) {
items {
id
name
}
}
}
"
Is there any way I could write it using this library? I am able to do so for the individual category and product queries, but I wasn't able to do this for the full example, where params int he query are passed down in different trees.
Suppose I have a gql query that looks like this:
Is there any way I could write it using this library? I am able to do so for the individual
categoryandproductqueries, but I wasn't able to do this for the full example, where params int he query are passed down in different trees.