Skip to content
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

[fix] Handle negative big ints correctly #560

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

cedric-cordenier
Copy link
Contributor

No description provided.

pkg/values/pb/values.proto Outdated Show resolved Hide resolved
@@ -13,10 +14,15 @@ message Value {
List list_value = 5;
string decimal_value = 6;
int64 int64_value = 7;
bytes bigint_value = 8;
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think there is a formal way to reserve or deprecate this field

Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added that on line 8 or did you have something else in mind?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Oh I just expected it to be inline here inside of the oneof - does it matter?

Copy link
Collaborator

@jmank88 jmank88 Jun 7, 2024

Choose a reason for hiding this comment

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

These is also this option:

bytes bigint_value = 8 [deprecated = true];

@cedric-cordenier cedric-cordenier merged commit 92c799b into main Jun 6, 2024
9 checks passed
@cedric-cordenier cedric-cordenier deleted the handle-negative-big-ints branch June 6, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants