apollographql / apollographql/fullstack-tutorial
Downloaded introspectionSchema.json File is not completed
- Lingua principale
- TypeScript
- Stelle
- 1.2k
- Fork
- 808
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
for instance, I will use
https://apollo-fullstack-tutorial.herokuapp.com/graphql
when I manually download the schema from the playground (I mean the right side Schema button and then pressed on download btn ) to use it for an android client the introspectionSchema.json that I got has many errors
when I use the JSON file to generate models always got this error
****Failed to locate schema root node `__schema`**
also if I put the whole JSON object inside these
`
{
"data": {
"__schema": { here }
}
}`
then i got this error
****Required value 'types_' (JSON name 'types') missing at $.data.__schema**
so i realised that the downloaded json file is uncompleted for some reason
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Apri Apollo Playground all’indirizzo https://apollo-fullstack-tutorial.herokuapp.com/graphql e riproduci il download di Schema usando introspectionSchema.json. Confronta il documento scaricato con gli errori segnalati e verifica che il risultato contenga data.__schema.types, in modo da poterlo usare per la generazione dei modelli Android senza aggiungere manualmente un wrapper.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android, graphql
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100