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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。