graphql-python / graphql-python/graphene-sqlalchemy
Update Examples Documentation to Cover Dataloaders / Batching
- Linguagem predominante
- Python
- Estrelas
- 985
- Forks
- 223
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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.
Guia de contribuição
Direção de pesquisa
Comece com graphene_sqlalchemy/tests/test_batching.py e os arquivos existentes no diretório examples. Analise como o teste demonstra dataloaders e batching e, em seguida, identifique o local apropriado nos exemplos para um exemplo de uso correspondente. Considera-se concluído quando os exemplos documentarem e demonstrarem batching com clareza suficiente para servir como um ponto de partida definitivo.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python, sqlalchemy
- Domínio
- documentation
- Tipo de issue
- Documentação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 38/100