apollographql / apollographql/fullstack-tutorial
Downloaded introspectionSchema.json File is not completed
- Langage dominant
- TypeScript
- Étoiles
- 1.2k
- Forks
- 808
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
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
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Ouvrez Apollo Playground à l’adresse https://apollo-fullstack-tutorial.herokuapp.com/graphql et reproduisez le téléchargement de Schema à l’aide de introspectionSchema.json. Comparez le document téléchargé aux erreurs signalées et vérifiez que le résultat contient data.__schema.types, afin de pouvoir l’utiliser pour la génération de modèles Android sans ajouter manuellement de wrapper.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- android, graphql
- Domaine
- api
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100