Are nested queries already possible? #23
frederikhors
started this conversation in
General
Replies: 1 comment
-
Hello, Thanks for your interest on the project. Yes nested queries are supported but with filters and pagination on root node. In future versions of the generator I plan to add filtering and pagination on nested queries. Ordering is neither supported on root nor nested queries, but I will add it as an issue too. To conclude you can do the following at the moment. query QueryZoo($name: String!) {
queryZoo(filter: {name: {eq: $name}}, pagination: {limit: 10, page: 7}) {
data {
name
animals {
name
}
}
pages
current
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are queries like this currently possible?
I mean, can I query nested fields with input like order, pagination, filters, something like that?
Beta Was this translation helpful? Give feedback.
All reactions