danielgtaylor / danielgtaylor/python-betterproto
Split up the protoc plugin to make gRPC content configurable
Offen
enhancement
large
medium priority
- Vorherrschende Sprache
- Python
- Sterne
- 1.8k
- Forks
- 234
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Currently there is a single plugin with limited support for generating gRPC client code, and there is demand to cover servicer generation #19, with grpclib or grpcio, or none #44 #20 .
Since AFAIK there is not standard way to provide arguments to protoc plugins, I propose that the plugin be exposed as multiple distinct executables, one to generate just the protobuf dataclasses, one to generate the dataclasses and grpclib client/server and one to generate dataclasses and grpcio client/server.
Are there other approaches worth considering?
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.