We a schema-less model where I would like to trigger a cloud function when a document is added to a defects
collection. The thing is that any defect
can contain a group of new defects collection (recursive).
How can I setup a cloud function that triggers on any of the following documents is updates / created:
problem/defects/{document}
problem/defects/{document}/defects/{document}
problem/defects/{document}/defects/{document}/defects/{document}
problem/defects/{document}/defects/{document}/defects/{document}/defects/{document}
and so on...