graphql-python / graphql-python/graphene
Documentation: Give more examples of how to use List
- 主要言語
- Python
- スター
- 8.2k
- フォーク
- 818
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
The section on lists gives a very basic example of creating a list of strings and moves on. As a developer, I know I'm going to be using lists all the time and most likely I would want to be returning a list of other objects. So the documentations should answer:
* What's the best way to return other objects in my resolver function?
* How much does the parent object need to know about the child object?
* What if an object is returning a list of itself (user returning users)?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
issue で参照されているリストのセクションから始め、resolver とオブジェクトに関する周辺のドキュメントを読んでください。他のオブジェクトのリスト、親オブジェクトと子オブジェクトの知識、そして自分自身のリストを返すオブジェクトを扱う例を追加してください。ドキュメントが3つすべての質問に明確で実用的な例を用いて答えていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- documentation
- issue の種類
- ドキュメント
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 50/100