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
Right now, we only allow constant boundaries for number fields, e.g. (max).value = "42".
(max).value = "42"
We could consider making the boundary values dynamic. For example:
message LocalDate { int32 year = 1; Month month = 2; uint32 day = 3 [(max).expression = "month->max_days"]; }
Here, max_days would be an option defined on every value of the Month enum.
max_days
Month
The text was updated successfully, but these errors were encountered:
I would use a syntax compatible with the one of FieldMasks:
FieldMask
uint32 day = 3 [(max).expression = "month.max_days"];
Sorry, something went wrong.
No branches or pull requests
Right now, we only allow constant boundaries for number fields, e.g.
(max).value = "42"
.We could consider making the boundary values dynamic. For example:
Here,
max_days
would be an option defined on every value of theMonth
enum.The text was updated successfully, but these errors were encountered: