eclipse-vertx / vertx-grpc

Development of the gRPC component for Eclipse Vert.x
Eclipse Public License 2.0
43 stars 23 forks source link

Protoc: let users decide if the plugin should generate clients, server or both #92

Closed tsegismont closed 1 week ago

tsegismont commented 8 months ago

The protoc plugin is not configurable. Consequently, it generates code for clients and servers, forcing users to add dependencies to both vertx-grpc-client and vertx-grpc-server.

The plugin should be configurable, in particular it should be easy to switch off code generation for clients or server from Maven.

tpalan commented 1 week ago

Also, usually a vertx server is either a client or server for a specific API specification, and not both.

vietj commented 1 week ago

in vertx5 there are three plugins to let this possible choice

vietj commented 1 week ago
vietj commented 1 week ago

so perhaps we can close this for 5.0.0 :-)

tsegismont commented 1 week ago

Fixed by 52d18fa