Does anyone know where I can find an example of a gRPC protobuf file that imports from a different file and uses a protobuf message in a return? I can't find any at all.
I have a file...
syntax = "proto3";
package a1;
import "a.proto";
service mainservice {
rpc DoSomething(...) returns (a.SomeResponse) {}
}
a.proto is also in the same directory and also compiles by itself. The error messages I'm getting are:
"a.SomeResponse" is not defined.
mainfile.proto: warning: Import a.proto but not used.