rebar3_gpb_plugin icon indicating copy to clipboard operation
rebar3_gpb_plugin copied to clipboard

Can you support GRPC protobuf?

Open iloveai8 opened this issue 4 years ago • 4 comments

iloveai8 avatar Mar 17 '20 08:03 iloveai8

this plugin is mostly a build tool wrapping around gpb, @tomas-abrahamsson is there grpc support already in gpb?

lrascao avatar Mar 17 '20 10:03 lrascao

gpb not support,but protobuf support service, so rebar3 gpb plugin supported protobuf service?like this:syntax = "proto3";

package helloworld;

// The greeting service definition. service Greeter { // Sends a greeting rpc SayHello (HelloRequest) returns (HelloReply) {} }

// The request message containing the user's name. message HelloRequest { string name = 1; }

// The response message containing the greetings message HelloReply { string message = 1; }

iloveai8 avatar Mar 18 '20 02:03 iloveai8

Contributions are welcome!

lrascao avatar Mar 18 '20 10:03 lrascao

I'm 2 years late but thought I'd mention gpb has grpc support and is used by grpcbox's plugin https://github.com/tsloughter/grpcbox_plugin/

tsloughter avatar Jun 04 '22 23:06 tsloughter