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 Aug 30, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Add support for FieldMask to DocumentReference.get() #227
I can filter fields when running a Query, but not when getting a DocumentSnapshot by primary key. The code available in FirestoreImpl, but that's a private class.
What I would like to do:
DocumentReferenceref = firestore.collection("collectionName").document("documentId");
ref.get(FieldMask.of("field1", "field2")); // <== this
The implementation seems simple, as DocumentReference just forwards the call to firestore.getAll(), which does support FieldMask.
I can filter fields when running a
Query, but not when getting aDocumentSnapshotby primary key. The code available inFirestoreImpl, but that's a private class.What I would like to do:
The implementation seems simple, as
DocumentReferencejust forwards the call tofirestore.getAll(), which does supportFieldMask.