apollographql / apollographql/fullstack-tutorial
Downloaded introspectionSchema.json File is not completed
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.2k
- Forks
- 808
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Öffne das Apollo Playground unter https://apollo-fullstack-tutorial.herokuapp.com/graphql und reproduziere den Schema-Download mit introspectionSchema.json. Vergleiche das heruntergeladene Dokument mit den gemeldeten Fehlern und verifiziere, dass das Ergebnis data.__schema.types enthält, sodass es für die Android-Modellgenerierung verwendet werden kann, ohne manuell einen Wrapper hinzuzufügen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android, graphql
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100