-
Notifications
You must be signed in to change notification settings - Fork 900
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
Log correct version for v9 Firestore and RTDB #4842
Conversation
|
Binary Size ReportAffected SDKs
Test Logs |
packages/firestore/lite/register.ts
Outdated
@@ -29,6 +34,7 @@ declare module '@firebase/component' { | |||
} | |||
|
|||
export function registerFirestore(): void { | |||
setSDKVersion(SDK_VERSION); |
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.
Can we differentiate Firestore lite from Firestore? I wonder if we should prefix or postfix this with lite
.
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.
like 9.0.0-beta.1_lite
?
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.
Don't we normally put variant info in the product string and not in the version number string? It's already in the product string.
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.
The product string is in line 55, I think that should be enough to distinguish for platform logging, unless this is for Firestore-only backend logging? I think it might make platform logging queries a little harder to have one version not like the others.
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.
This version is logged to Firestore backend directly. We will have to do some data massage to join Firestore data with platform logging 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.
Please fix lint.
I swear I ran lint locally and everything passed! |
No description provided.