Maybe add Status.withCode
オープン
- 主要言語
- Java
- スター
- 12.1k
- フォーク
- 4k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 37
説明
Unlike other fields in Status, there is no `with` method to preserve the code. This is surprising and makes it harder to change a status code.
Would have been useful here: https://github.com/grpc/grpc-java/pull/3521/files
コントリビューションガイド
調査の方向性
まず Java gRPC Status API の場所を特定し、参照されている pull request を確認して、他の Status フィールドがどのように with メソッドを公開しているかを確認します。status を変更する際に code を保持する期待される動作を確認し、対応する API カバレッジを追加して、既存のテストが通ることを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- grpc, java
- 領域
- api, backend-api-design
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100