graphql-python / graphql-python/graphql-core-legacy
Include the ancestor field ast in the resolver's `ResolveInfo`
オープン
- 主要言語
- Python
- スター
- 371
- フォーク
- 175
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Just as how `field_asts` contains the descendants to be resolved after a resolver, it would be nice if the `ResolveInfo` object also contains the field ast's ancestors that leads to the currently-resolved field.
This information would make https://github.com/graphql-python/graphql-core/issues/127 really easy to resolve.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず ResolveInfo の定義と、resolver パスにおける既存の field_asts の設定を追跡します。現在のフィールドの祖先 AST へのアクセスを追加し、その後 ResolveInfo が期待される祖先チェーンを公開していること、および関連する issue 127 のユースケースがそれを取得できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100