SubscribeQuery - unexpected document path piece #133
-
My subscribequery
returns the following message? "targetChange": { "targetChangeType": "REMOVE", "targetIds": [ 2 ], "cause": { "code": 3, "message": "Unexpected document path piece: /bookings/" However this Get works 100%
|
Beta Was this translation helpful? Give feedback.
Answered by
SchneiderInfosystems
Mar 9, 2022
Replies: 2 comments 5 replies
-
Check this solution:
Thank you for your short feedback and a star, if you like this library. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Correct, IncludesDescendants must be set to false. Unfortunately, the Firestore does not support listening to changes in nested collections. To monitor all documents in the
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
SchneiderInfosystems
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Correct, IncludesDescendants must be set to false.
Unfortunately, the Firestore does not support listening to changes in nested collections.
To monitor all documents in the
users/<fuid>/bookings/*
subcollection, you need this query: