`protoc` does not generate built-in types
khteh opened this issue · 1 comments
khteh commented
/proto/ping.proto
:
syntax = "proto3";
import "google/protobuf/empty.proto";
service SvcPing {
rpc Ping (google.protobuf.Empty) returns (Pong);
}
message Pong {
string message = 1;
}
Running the command protoc proto/ping.proto --dart_out=grpc:lib/grpc
generates the necessary code but without the "google/protobuf/empty.proto"
: