-
Notifications
You must be signed in to change notification settings - Fork 152
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
There are many deficiencies #210
Comments
For input data validation, you might want to try the verify option. Here's an example trying to encode -1 for an unsigned int:
For range checking for the output data, I'm not sure I follow. Could you explain more what you mean by this? |
$ cat ts.proto Administrator@PC-20170610DFEC MINGW64 /g/zzwz/proto/gpb (master) |
Another problem is that the generated code is too redundant, especially when a file is referenced multiple times, and there are N copies of the parsing code for that file.I don't know if there's a solution out there. |
I assume you did expect some kind of decoding error when the binary is missing required fields? Maybe that is a good addition, but it would need to be enabled by an option for backwards compatibility.
There is no option to generate one .erl per .proto. Some redesign would be needed for that. Some areas that may need thinking is Is your case that you have a few top-level |
thank you |
In 4.18.0, which i just pushed, I added an option, |
There is no data range validation for the input data and no data range checking for the output data
The text was updated successfully, but these errors were encountered: