graphql-python / graphql-python/graphene-sqlalchemy

Update Examples Documentation to Cover Dataloaders / Batching

未關閉
#332 0 則留言 3 個 reaction 已指派 0 人 在 GitHub 檢視
:book: documentation enhancement
主要語言
Python
星號
985
分支
223
PR 合併指標
30 天內沒有已合併 PR

描述

Though there is some information on how to implement dataloaders in [test_batching.py](https://github.com/graphql-python/graphene-sqlalchemy/blob/master/graphene_sqlalchemy/tests/test_batching.py), the sample code in the [examples](https://github.com/graphql-python/graphene-sqlalchemy/tree/master/examples) directory lacks examples of how to do it.

My original code is based on that in the examples directory. I have been trying to use [test_batching.py](https://github.com/graphql-python/graphene-sqlalchemy/blob/master/graphene_sqlalchemy/tests/test_batching.py) to get batching working without much success. If I got it to work I would have submitted a PR.

This is a significant new feature for the code base and it would be excellent to have definitive examples in the repo.

貢獻指南

開啟貢獻指南

研究方向

從 graphene_sqlalchemy/tests/test_batching.py 和 examples 目錄中的現有檔案開始。追蹤測試如何示範 dataloaders 和 batching,然後找出 examples 中適合放置相應使用範例的位置。當 examples 對 batching 進行充分清楚的文件說明與示範,足以作為權威的起點時,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python, sqlalchemy
領域
documentation
Issue 類型
文件
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。