-
Notifications
You must be signed in to change notification settings - Fork 762
Common Filter to take in int values as well
#6742
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
base: v2
Are you sure you want to change the base?
Conversation
|
Bito Automatic Review Skipped - Branch Excluded |
|
|
||
| .PHONY: buf | ||
| buf: buf-dep buf-format buf-lint buf-rust buf-python buf-go buf-ts buf-ts-check | ||
| buf: buf-dep buf-format buf-lint buf-rust buf-python buf-go buf-ts buf-ts-check mocks |
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.
Adding mock generation to this command as mocks gets deleted when running this, so it should also regenerate it (otherwise people will have to run another command to unblock themselves with changes)
|
Bito Automatic Review Skipped - Branch Excluded |
| // ONLY ONE of the following value fields should be set. | ||
| // Only in the case of a VALUE_IN function, values may contain multiple entries. | ||
| repeated string values = 3; | ||
| repeated int32 int_values = 4; |
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.
You can make this a OneOf without breaking the wire format (You can even change the field name unless we are using json for requests).. Is the reason you are not so you don't break the code compilation?
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 main reason is we can't have
oneof values {
repeated string strings = 3;
repeated int32 ints = 4;
}
We'd have to wrap these lists in their own proto struct to get it to work :/
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.
aaah yes yes I hate that, yes :(
Tracking issue
Why are the changes needed?
What changes were proposed in this pull request?
How was this patch tested?
Labels
Please add one or more of the following labels to categorize your PR:
This is important to improve the readability of release notes.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link