Unable to find any service in proto file
jnorkus opened this issue · 3 comments
jnorkus commented
Whenever I add an import to the proto file, grpcc can't find any service.
e.g. import "google/protobuf/field_mask.proto";
I haven't tested or debugged it any further but my guess is that it only checks the imported proto definition as it doesn't have any services in it.
rocketraman commented
+1
turboezh commented
I guess, grpcc can't handle enums outside of messages.
message Foo {
enum Status {
OK = 0;
ERROR = 1;
}
Status status = 1;
}
works fine. But
enum Status {
OK = 0;
ERROR = 1;
}
message Foo {
Status status = 1;
}
gives Unable to find any service in proto file
.
qlodhi-clearlabs commented
Still happens in grpcc 1.1.3