Skip to content

Throw proper error for FieldValue transforms in arrays #3183

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

Conversation

schmidt-sebastian
Copy link
Contributor

@schmidt-sebastian schmidt-sebastian commented Jun 7, 2020

Fixes a regression introduced in #3048 which changed the context.path variable from Path|null to undefined|null.

Fixes #3172

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Jun 7, 2020

Binary Size Report

Affected SDKs

  • @firebase/firestore

    Type Base (0fac7bd) Head (0025efe) Diff
    browser 252 kB 252 kB +10 B (+0.0%)
    esm2017 195 kB 195 kB +10 B (+0.0%)
    main 494 kB 494 kB +30 B (+0.0%)
    module 249 kB 249 kB +10 B (+0.0%)
  • @firebase/firestore/lite

    Type Base (0fac7bd) Head (0025efe) Diff
    main 138 kB 138 kB -6 B (-0.0%)
  • @firebase/firestore/memory

    Type Base (0fac7bd) Head (0025efe) Diff
    browser 192 kB 192 kB +10 B (+0.0%)
    esm2017 149 kB 149 kB +10 B (+0.0%)
    main 370 kB 370 kB +30 B (+0.0%)
    module 190 kB 190 kB +10 B (+0.0%)
  • firebase

    Type Base (0fac7bd) Head (0025efe) Diff
    firebase-firestore.js 290 kB 290 kB +10 B (+0.0%)
    firebase-firestore.memory.js 232 kB 232 kB +10 B (+0.0%)
    firebase.js 823 kB 823 kB +10 B (+0.0%)

Test Logs

@@ -214,6 +214,7 @@ export class FirebaseCredentialsProvider implements CredentialsProvider {
// outstanding so the response is potentially for a previous user (which
// user, we can't be sure).
if (this.tokenCounter !== initialTokenCounter) {
this.forceRefresh = true;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this change related to the fix at hand?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, this is meant for a different PR. Removed.

@schmidt-sebastian schmidt-sebastian merged commit b011da8 into master Jun 8, 2020
@schmidt-sebastian schmidt-sebastian deleted the mrschmidt/nestedarrays branch June 8, 2020 16:43
@firebase firebase locked and limited conversation to collaborators Jul 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants