I use Firestore JavaScript v9. I have a data structure of items with deeply nested tasks, like this:
Every Task has an endDate Timestamp and a subcollection "subTasks".
How can I query the max / latest endDate of all subTasks within an item?