Parent/Child Graphql api filtering

Hi, is there a way with the current GraphQL implementation to query for group fields or even documents that are linked by a parent/child relationship?

In the following example, I want to query for all parent choices (main_choices) and return related children (secondary_choices) by using the id in main_choices. Is that possible? If not, is there a way around it? Thanks

Hello @mhalawani, welcome to the forum.

It is possible using the union type. Here's the documentation:

Let us know if you need help building your query.

Thanks