Skip to content

change int32 to int64 #6577

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 2 commits into from
Sep 2, 2022
Merged

change int32 to int64 #6577

merged 2 commits into from
Sep 2, 2022

Conversation

milaGGL
Copy link
Contributor

@milaGGL milaGGL commented Aug 31, 2022

change int32 to int64 for up_to

@changeset-bot
Copy link

changeset-bot bot commented Aug 31, 2022

⚠️ No Changeset found

Latest commit: 2c667fa

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 31, 2022

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Aug 31, 2022

@@ -309,7 +309,7 @@ message StructuredAggregationQuery {
// Requires:
//
// * Must be greater than zero when present.
int32 up_to = 1;
int64 up_to = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

This has to be google.protobuf.Int64Value.

See firebase/firebase-android-sdk#4038

Copy link
Contributor Author

Choose a reason for hiding this comment

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

do we have google.protobuf.Int64Value in web sdk?
web sdk used google.protobuf.Int32Value, but didn't see any line uses google.protobuf.Int64Value. 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I believe we do have google.protobuf.Int64Value in the web sdk. Even if we don't it's fine because we never use it. But it's important that the proto definition is correct because if we ever do use it in the future then we want it to work correctly. Are you encountering errors when you change it to Int64Value?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

nope, no errors

Copy link
Contributor

@dconeybe dconeybe left a comment

Choose a reason for hiding this comment

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

I think you also need to run that command from update.sh to regenerate the code from the changed protos.

@milaGGL milaGGL requested a review from dconeybe September 1, 2022 17:25
@milaGGL milaGGL merged commit fe871ce into mila/count Sep 2, 2022
@milaGGL milaGGL deleted the mila/count-update-proto_upto branch September 2, 2022 16:41
@firebase firebase locked and limited conversation to collaborators Oct 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants