-
Notifications
You must be signed in to change notification settings - Fork 641
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GraphQL: Access child elements within query #4843
Comments
Seems like an oversight to me. |
By "children", we're talking about children in structures, right? |
Yes, this particular use case is for entries in a Structure, but I believe in CraftQL you can also use |
Yeah, for sure. I was just making sure you're not wishing to fetch all the related entries in any of the content fields. |
Still have to do this. |
Resolved in a0aa539 |
Would be nice if there was a way to access child elements, like the CraftQL plugin's
children
. For example, this CraftQL query returned a single city and a list of its districts (which are child entries of the city entry in Craft):I would like to be able to do the above in Craft 3.3 but there isn't a way to access the children of an element within a single query as far as I can tell. If it is already possible, can it be added to the documentation with a sample query?
The text was updated successfully, but these errors were encountered: