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
protobuf.js version: 7.1.2
The following proto files are defined here:
// 1.proto syntax = "proto3"; package test; import './11.proto'; import './12.proto';
// 11.proto syntax = "proto3"; package test; message TestMsg { int32 id = 1; }
// 12.proto syntax = "proto3"; package test; message TestMsg { int32 id = 1; int32 id = 1; }
pbjs -t json -o 1.json 1.proto --sparse
The following error should be thrown in the correct case, but it is not actually displayed:
Error: duplicate name 'id' in Type TestMsg
After debugging, I think the cause of the problem may be here
protobuf.js/src/root.js
Lines 97 to 106 in d026849
Errors should be shown, not eaten silently, and we should fix it.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
protobuf.js version: 7.1.2
The following proto files are defined here:
The following error should be thrown in the correct case, but it is not actually displayed:
After debugging, I think the cause of the problem may be here
protobuf.js/src/root.js
Lines 97 to 106 in d026849
Errors should be shown, not eaten silently, and we should fix it.
The text was updated successfully, but these errors were encountered: