You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
syntax = "proto3";
package helloworld;
service OptionalGreeter {
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
// The request message containing the user's name.
message HelloRequest {
optional string name = 1;
}
// The response message containing the greetings
message HelloReply {
string message = 1;
}
Command line arguments / config
List all command line arguments or config properties
Describe the bug
When calling proto3 service which contains optional field, it fails with field has label LABEL_OPTIONAL, but proto3 must omit labels other than 'repeated'.
To Reproduce
Use proto above and make a call to HelloRequest.
Expected behavior
Request succeeds.
Environment
OS: darwin/arm64
ghz: 0.102.0
The text was updated successfully, but these errors were encountered:
Proto file(s)
Command line arguments / config
List all command line arguments or config properties
Describe the bug
When calling proto3 service which contains optional field, it fails with
field has label LABEL_OPTIONAL, but proto3 must omit labels other than 'repeated'
.To Reproduce
Use proto above and make a call to
HelloRequest
.Expected behavior
Request succeeds.
Environment
The text was updated successfully, but these errors were encountered: