Skip to content

Adding documentation for WriteBatch size limit #1715

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 24, 2019
Merged

Adding documentation for WriteBatch size limit #1715

merged 6 commits into from
Apr 24, 2019

Conversation

thebrianchen
Copy link

Reference: b/70222712

Copy link
Contributor

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Sorry for the delay on review. This is a good start, but I'm giving you some additional nuance to capture. :)

Also, runTransaction() is subject to the same limit, so can you add a similar comment there?

@mikelehen mikelehen assigned thebrianchen and unassigned mikelehen Apr 23, 2019
@thebrianchen
Copy link
Author

Oh wow, that is a subtlety that is hard to glean from just skimming the documentation. Thanks for pointing it out and explaining it to me!

Copy link
Contributor

@mikelehen mikelehen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@@ -206,8 +212,14 @@ export class FirebaseFirestore {
): Promise<T>;

/**
* Creates a write batch, used for performing multiple writes as a single
* atomic operation.
* Creates a write batch, used for performing multiple writes as a single
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oooh, thanks for bringing this into sync.

@mikelehen mikelehen removed their assignment Apr 24, 2019
@thebrianchen thebrianchen merged commit 721ac1c into master Apr 24, 2019
@thebrianchen thebrianchen deleted the bc/docu branch April 24, 2019 01:32
@firebase firebase locked and limited conversation to collaborators Oct 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants