My Task class has an array property annotations, which stores pointers to Annotation objects. Annotation has a user property which points to Parse.User:
Task { annotations: Array<Annotation> }
Annotation { user: Parse.User }
I’m looking for a way to fetch tasks together with their annotations and the annotation’s users in a single query.
Getting the annotations is easy with include:
new Parse.Query('Task').include('annotations')
However, this way the user property of returned annotation objects is undefined. I tried include('annotations.user'), but that doesn’t work either.
Is there a way to achieve this with Parse queries, or do I have to manually fetch the array objects to get their content? Thanks in advance 