Skip to content

Add remaining firestore-exp functionality #3321

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

Conversation

schmidt-sebastian
Copy link
Contributor

This adds some barebones support for the remaining API surface for the firestore-exp client. This is meant to unblock adding the Dependencies tests as well as the integration tests. TODOs added for functionality that is missing.

@changeset-bot
Copy link

changeset-bot bot commented Jun 29, 2020

🦋 Changeset is good to go

Latest commit: d227cca

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/exp

    Type Base (982acf9) Head (49f4a24) Diff
    main 283 kB 395 kB +113 kB (+39.9%)

Test Logs

if (this._firestoreClientPromise !== undefined && !this._terminated) {
throw new FirestoreError(
Code.FAILED_PRECONDITION,
'Persistence cannot be cleared after this Firestore instance is initialized.'
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: This statement is not entirely correct. Consider this rewording:

Persistence can only be cleared before the Firestore instance is initialized or after it is terminated.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Udpated

@schmidt-sebastian schmidt-sebastian changed the base branch from mrschmidt/onsnapshotsinsync to master June 30, 2020 21:00
@schmidt-sebastian schmidt-sebastian merged commit dd1e63c into master Jun 30, 2020
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/waitforpendingwrites 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.

3 participants