Skip to content

Add onSnapshotsInSync to firestore-exp #3320

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
Jun 30, 2020

Conversation

schmidt-sebastian
Copy link
Contributor

This adds the code for onSnapshotsInSync, tests are coming when we can target the existing integration tests against firestore-exp

@changeset-bot
Copy link

changeset-bot bot commented Jun 29, 2020

🦋 Changeset is good to go

Latest commit: 042f2c7

We got this.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jun 29, 2020

Binary Size Report

Affected SDKs

  • @firebase/firestore

    Type Base (f54abc2) Head (e9d67b2) Diff
    browser 248 kB 248 kB -96 B (-0.0%)
    esm2017 194 kB 194 kB -19 B (-0.0%)
    main 493 kB 493 kB +194 B (+0.0%)
    module 246 kB 246 kB -96 B (-0.0%)
  • @firebase/firestore/exp

    Type Base (f54abc2) Head (e9d67b2) Diff
    main 282 kB 283 kB +1.01 kB (+0.4%)
  • @firebase/firestore/lite

    Type Base (f54abc2) Head (e9d67b2) Diff
    main 141 kB 141 kB +267 B (+0.2%)
  • @firebase/firestore/memory

    Type Base (f54abc2) Head (e9d67b2) Diff
    browser 186 kB 186 kB -96 B (-0.1%)
    esm2017 145 kB 145 kB -19 B (-0.0%)
    main 363 kB 363 kB +194 B (+0.1%)
    module 184 kB 184 kB -96 B (-0.1%)
  • firebase

    Type Base (f54abc2) Head (e9d67b2) Diff
    firebase-firestore.js 286 kB 286 kB -121 B (-0.0%)
    firebase-firestore.memory.js 226 kB 226 kB -121 B (-0.1%)
    firebase.js 820 kB 819 kB -121 B (-0.0%)

Test Logs

@googlebot
Copy link

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to determine that you authored the commits in this PR. Maybe you used a different email address in the git commits than was used to sign the CLA? If someone else authored these commits, then please add them to this pull request and have them confirm that they're okay with them being contributed to Google. If there are co-authors, make sure they're formatted properly.

In order to pass this check, please resolve this problem and then comment@googlebot I fixed it... If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@schmidt-sebastian schmidt-sebastian changed the base branch from mrschmidt/snapshots to master June 30, 2020 04:10
@@ -675,6 +657,29 @@ export class Firestore implements firestore.FirebaseFirestore, FirebaseService {
}
}

/** Register the listener for onSnapshotsInSync() */
Copy link
Contributor

Choose a reason for hiding this comment

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

Registers.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@googlebot
Copy link

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

@schmidt-sebastian schmidt-sebastian merged commit 982acf9 into master Jun 30, 2020
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/onsnapshotsinsync branch July 9, 2020 17:44
@firebase firebase locked and limited conversation to collaborators Jul 31, 2020
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.

4 participants