Add Context.Key.create and createWithDefault
オープン
まだ誰も着手していません。
- 主要言語
- Java
- スター
- 12.1k
- フォーク
- 4k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 37
説明
We'd like to remove needless differences between Attributes.Key, CallOptions.Key, and Context.Key. The Context.key() and keyWithDefault() is actually a bit weird today, and not something we'd like to copy. But we'd like to add the create methods to Key for consistency.
We will leave the current key() and keyWithDefault() methods. Just add new methods.
Related: #1869, #1764.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Context.Key と Attributes.Key および CallOptions.Key を比較し、既存の Context.key() メソッドと keyWithDefault() メソッド、および関連する issue #1869 と #1764 に注目します。新しい API では create と createWithDefault を追加し、現在のメソッドを維持する必要があることを確認してください。完了の条件は、Context.Key API が他のキー型と一貫していることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 45/100