graphql-python / graphql-python/graphene

Save variables from resolver for later use

Aperta
#1,270 2 commenti 3 reazioni 0 assegnatari Vedi su GitHub
✨ enhancement
Lingua principale
Python
Stelle
8.2k
Fork
818
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I used graphene for my project and it worked quite well, but I had a really tough time modifying json response, for example adding count of total matched records. I read documentation, but it seems to be overly complicated, which resolves in duplicate responses to database, and hence slowing processes. I am working with quite large data, so duplicating responses to database is not an option. It would be very helpful if I could save some parameters from resolver to separate dictionary to later modify response. I think adding this feature would simplify workflow for many, who wants to use graphql in their projects.

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.