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
Describe the bug E.g.: it allow to set a field number to 0.
To Reproduce
@Serializable data class Box(@ProtoNumber(0) val number: Int)
Expected behavior Shoud throw an error, this is not spec compliant as it should only allow value between 1 and 229 - 1.
The text was updated successfully, but these errors were encountered:
Prohibited using of zero and negative filed number in ProtoNumber and…
2a5818b
… zero field numbers in input bytes Fixes #1566
c5c5d9f
4646740
No branches or pull requests
Describe the bug
E.g.: it allow to set a field number to 0.
To Reproduce
Expected behavior
Shoud throw an error, this is not spec compliant as it should only allow value between 1 and 229 - 1.
The text was updated successfully, but these errors were encountered: