Make protoc-gen-grpc-gateway compatible with protoc-gen-go #503
Closed
Description
grpc-gen-go
created a framework for writing protoc-gen-go
plugins, instead of creating a protoc
plugin, a protoc-gen-go
plugin might be a better choice.
More specifically, gateway generator should implement github.com/golang/protobuf/protoc-gen-go/generator.Plugin
interface. By doing this, it will help
- avoiding all the boiler plates, as protoc-gen-go will handle them, and
- making gateway generator easier to integrate with other protoc-gen-go plugins
In longer term, this will make it easier to integrate grpc-gateway with bazel/rules_go.