Configuration Options for shape of Batch GraphQL Return JSON
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
L'issue non indica alcun file o test. Inizia tracciando l'opzione batch e la gestione della relativa risposta GraphQL, usando l'esempio ApolloClient e la struttura attuale del payload come comportamento di partenza; il lavoro è completato quando i chiamanti possono configurare il nesting della risposta e ricevere la struttura JSON richiesta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Awesome project you got going here, thanks for keeping this going. I've been using the batch option to allow for batch-GraphQL requests from ApolloClient, but it doesn't seem like there is an easy way to specify what shape I want the data to return in? Correct me if I'm wrong.
For example, currently when sending batch-requests, I get back a JSON array with the data I am interested in nested under a "data" key which is itself nested in a "payload" key.
[
{"payload":
{"data":
{<some_data_stuff_here}
}
},
{"payload":
{"data":
{<some_data_stuff_here}
}
},
{"payload":
{"data":
{<some_data_stuff_here}
}
}
]
I'm hoping I can just get these objects sent back without the data nested in the payload key. Any suggestions? Thanks in advance.
- Lingua principale
- Python
- Stelle
- 1.3k
- Fork
- 139
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di graphql-python/flask-graphql
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
graphql-python/flask-graphql#92 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
graphql-python/flask-graphql#85 · 2 commenti · 1 reazione ·
-
CSRF Exemption? Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
graphql-python/flask-graphql#84 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
graphql-python/flask-graphql#80 · 9 commenti · 2 reazioni ·
Tutte le issue di graphql-python/flask-graphql
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
anthropics/skills#1811 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
speaches-ai/speaches#678 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
datalayer/mcp-compose#42 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
conda-forge/spacy-feedstock#177 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
UKGovernmentBEIS/inspect_evals#2523 ·