You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2026. It is now read-only.
When adding documents to a bundle the documents id (doc.id) is used to identify the document preventing duplicates being added. However id unique-ness is not enforced across all collections, eg both collection1/doc and collection2/doc share the same id.
When adding documents to a bundle the documents id (doc.id) is used to identify the document preventing duplicates being added. However id unique-ness is not enforced across all collections, eg both collection1/doc and collection2/doc share the same id.
The code for this can be found here
nodejs-firestore/dev/src/bundle.ts
Line 85 in 2522715
Shouldnt the path be used to test for the same document being added multiple times?