-
Notifications
You must be signed in to change notification settings - Fork 194
Closed
Description
There seems to an issue with the output missing api docs from the original .proto file, but only if the code generated with "grpc" option.
For example see this protobuf
syntax = "proto3";
package service1;
service TestMethodDocsService {
// This inline doc comment should be preserved.
rpc SayHello (HelloRequest) returns (HelloReply) {}
}
message HelloRequest {
string name = 1;
}
message HelloReply {
string message = 1;
}
Then compare the generated code with and without the "grpc" option:
With "grpc" option
protoc --dart_out="grpc:generated-with-grpc" --plugin=./bin/protoc-gen-dart ./doc.proto
Without "grpc" option
protoc --dart_out="generated-without-grpc" --plugin=./bin/protoc-gen-dart ./doc.proto
The inline doc for the SayHello method is missing only when "grpc" option is specified
adriank and NovaSagittarii
Metadata
Metadata
Assignees
Labels
No labels