danielgtaylor / danielgtaylor/python-betterproto
Split up the protoc plugin to make gRPC content configurable
- 主要言語
- Python
- スター
- 1.8k
- フォーク
- 234
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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?
コントリビューションガイド
調査の方向性
まず現在のprotocプラグインと、issues #19、#44、#20の要件を確認します。提案されている分離された実行可能ファイルを、生成されるgRPCコンテンツを構成する他の方法と比較します。完了とは、プロジェクトがdataclasses、grpclib、grpcio、およびgRPC出力なしを対象とする方針を決定していることを意味します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- grpc, python
- 領域
- backend-api-design, compilers
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100