-
Notifications
You must be signed in to change notification settings - Fork 926
Firestore: Re-write sample code in FirestoreDataConverter docs #7673
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
Firestore: Re-write sample code in FirestoreDataConverter docs #7673
Conversation
🦋 Changeset detectedLatest commit: 14c249b The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen 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 |
Size Report 1Affected Products
Test Logs |
Size Analysis Report 1Affected Products
Test Logs |
…neybe/FirestoreDataConverterSampleCodeRewrite
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.
Thanks for the improvements! I've just left a few optional comments for you to consider. Otherwise, LGTM.
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.
Thanks!
…terSampleCodeRewrite
Changeset File Check
|
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.
@dconeybe I addressed your feedback to my changes. I believe this PR is good to go.
The old sample had blatant syntax errors and was lacking in its demonstration of the power of type converters. These changes are ported from firebase/firebase-js-sdk#7673
The old sample had blatant syntax errors and was lacking in its demonstration of the power of type converters. These changes are ported from firebase/firebase-js-sdk#7673
Re-write the sample code for
FirestoreDataConverter
. The old sample had blatant syntax errors and was lacking in its demonstration of the power of type converters.This improvements was ported to the nodejs-firestore repository in googleapis/nodejs-firestore#1958.
Fixes: #7671