Skip to content

Commit b9beadb

Browse files
committed
Address comments
1 parent 83c770a commit b9beadb

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/firestore/src/protos/firestore/bundle.proto

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ option java_package = "com.google.firestore.proto";
3333
option objc_class_prefix = "FSTPB";
3434
option php_namespace = "Firestore\\Proto";
3535

36-
// Encodes a query saved in the bundle.
36+
// Describes a query saved in the bundle.
3737
message BundledQuery {
3838
// The parent resource name.
3939
string parent = 1;
@@ -96,8 +96,9 @@ message BundleMetadata {
9696
// A Firestore bundle is a length-prefixed stream of JSON representations of
9797
// `BundleElement`.
9898
// Only one `BundleMetadata` is expected, and it should be the first element.
99-
// The named queries follow after `metadata`. Every `document_metadata` is
100-
// immediately followed by a `document`.
99+
// The named queries follow after `metadata`. If a document exists when the
100+
// bundle is built, `document_metadata` is immediately followed by the
101+
// `document`, otherwise `document_metadata` will present by itself.
101102
message BundleElement {
102103
oneof element_type {
103104
BundleMetadata metadata = 1;

0 commit comments

Comments
 (0)