-
Notifications
You must be signed in to change notification settings - Fork 220
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
Version 2.0.0b4 fail to generate plugins concurrently #312
Comments
Hi, sorry about this could you perhaps attach the file that causes this error? |
Given that I removed mutable_default_args this might work after #311 @TamirFriedman-RecoLabs if you want to try the efokschaner:methods-take-messages branch to find out it would help. |
The error is caused by embedded enums. I have a similar error, here's a minimal reproducer: syntax = "proto3";
package test;
message Msg {
enum InnerEnum {
ENUM_ZERO = 0;
ENUM_ONE = 1;
}
InnerEnum en = 1;
}
message MsgReply {}
service Service {
rpc Method(Msg) returns (MsgReply);
} Moving InnerEnum outside msg stops the error from occuring. I suspect the issue is due to the new support for open enums. |
This appears to be fixed by d260f07 somehow |
I'll add a few tests so that issues like this don't happen again |
Usage fails with BetterProto 2.0.0b4 Version
Replacing to older version
Usage succeed with BetterProto 2.0.0b3 Version
The text was updated successfully, but these errors were encountered: