storj / drpc

drpc is a lightweight, drop-in replacement for gRPC
MIT License
1.49k stars 50 forks source link

protoc-gen-go-drpc: allow to generate service files to dedicated dir #25

Closed vtolstov closed 1 year ago

vtolstov commented 2 years ago

Signed-off-by: Vasiliy Tolstov v.tolstov@unistack.org

vtolstov commented 2 years ago

this is similar pr for drpc generator as like in grpc-go https://github.com/grpc/grpc-go/pull/5255

vtolstov commented 2 years ago

mostly this is needed to split generated code from generated protobuf messages code

vtolstov commented 2 years ago

also with this changes you can rename client and server interfaces do not have prefix DRPC

vtolstov commented 2 years ago

@zeebo any chance to get this merged? my use-case - split all generated code for grpc, drpc in different dirs

zeebo commented 2 years ago

Sorry I missed all this. Taking a look now.

zeebo commented 2 years ago

So I took a look at the grpc PR, and they had some concerns about the import path. Until that's resolved, can we make this an "unstable_standalone" flag or something?