Open carvalhorr opened 4 years ago
ex.:
service Greeter { rpc Hello(Request) returns (Response) {} } message Request { string name = 1; repeated Request req = 2; oneof optional { string option1 = 3; string option2 = 4; } } message Response { string greeting = 1; }
It is allowing to add a stub with both option1 and option2 set.
option1
option2
EXPECTED: It should return a validation error when adding a stub with both fields set.
ex.:
It is allowing to add a stub with both
option1
andoption2
set.EXPECTED: It should return a validation error when adding a stub with both fields set.