graphql-python / graphql-python/graphene-sqlalchemy

Update Examples Documentation to Cover Dataloaders / Batching

Abierto
#332 0 comentarios 3 reacciones 0 asignados Ver en GitHub
:book: documentation enhancement
Lenguaje dominante
Python
Estrellas
985
Forks
223
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.