Hacker News new | ask | show | jobs
by CGamesPlay 2894 days ago
> a join between ad hoc subqueries is the best way, and GraphQL doesn't really offer a way to do that

I think you're supposed to create a "virtual" field on the left-hand object that represents a collection of the right-hand type of objects. The field can be parameterized if your join needs extra information. If you want pagination, the virtual field returns an intermediary object describing the cursor (sort order, offset).