Closed goodbsw closed 4 years ago
Most likely _grpc_web_pb.js, _pb.js
were generated using an old version of protoc or protoc-gen-grpc-web
plugin.
In my opinion what you are getting right now it's more convenient/cleaner, one module for the service and one for each of your messages, plus namespaced.
@goodbsw which version of the protoc plugin are you using?
This is my proto file
package calculator;
option go_package = "calculatorpb";
message AddRequest { int32 num1 = 1; int32 num2 = 2; }
message AddResponse { int32 result = 1; }
service Calculator { rpc Add(AddRequest) returns (AddResponse) {}; }