graphql-python / graphql-python/graphene

Documentation: Give more examples of how to use List

Aperta
#1,171 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
📖 documentation
Lingua principale
Python
Stelle
8.2k
Fork
818
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.