We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
min
max
Suppose, I have the following type definition:
message Range { int32 min_value = 1; int32 max_value = 2; }
Obviously, the following should apply:
min_value <= max_value
max_value >= min_value
Can we do it now like this?
message Range { int32 min_value = 1 [(max).value = "max_value"]; // using optional `this.` prefix is also desired. int32 max_value = 2; }
message NumberGenerated { int32 number = 1 [(min).value = "range.min_value", (max).value = "range.max_value"]; Range range = 2 [(required) = true]; }
The text was updated successfully, but these errors were encountered:
I've just tested it with NumberGenerated in a testFixtures of core-java project. We don't handle this case yet. No code is generated.
NumberGenerated
testFixtures
core-java
Sorry, something went wrong.
No branches or pull requests
Suppose, I have the following type definition:
Obviously, the following should apply:
min_value <= max_value
max_value >= min_value
, which is just an opposite of the item 1.Can we do it now like this?
The text was updated successfully, but these errors were encountered: