-
Notifications
You must be signed in to change notification settings - Fork 927
Return Firestore Classic types from Transaction API #4233
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
Conversation
🦋 Changeset detectedLatest commit: 7425ef4 The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
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 |
Changeset File Check ✅
|
Size Analysis ReportAffected Products
|
Type | Base (e13b794) | Head (540e8d6) | Diff |
---|---|---|---|
size_with_ext_deps | 24.9 kB | 24.2 kB | -783 B (-3.1%) |
getMessaging
Size
Type | Base (e13b794) | Head (540e8d6) | Diff |
---|---|---|---|
size_with_ext_deps | 21.0 kB | 20.2 kB | -779 B (-3.7%) |
getToken
Size
Type | Base (e13b794) | Head (540e8d6) | Diff |
---|---|---|---|
size_with_ext_deps | 29.5 kB | 28.7 kB | -783 B (-2.7%) |
onMessage
Size
Type | Base (e13b794) | Head (540e8d6) | Diff |
---|---|---|---|
size_with_ext_deps | 22.6 kB | 21.8 kB | -779 B (-3.5%) |
Test Logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I restarted the CI b/c the failure looked flaky. Not sure what the changeset error is though.
.changeset/slimy-mugs-type.md
Outdated
"@firebase/firestore": patch | ||
--- | ||
|
||
Fixes an issue in the Transaction API that caused the SDK to return invalid DocumentReferences when returned from `DocumentSnapshot.data()`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about "caused DocumentSnapshot.data()
to return valid DocumentReferences"? The mixing of present and past tense for "return" makes it a bit hard to understand.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed it up a bit.
We need to use the "classic" UserDataWriter in the old Transaction API, as only the classic UserDataWriter returns the old API types. This is the same fix as #4136 (and the last!)
Fixes #4226