Skip to content

Make protoc-gen-grpc-gateway compatible with protoc-gen-go #503

Closed
@ashi009

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.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions