Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloaded introspectionSchema.json File is not completed #195

Open
Amrhalawani opened this issue Jan 18, 2021 · 0 comments
Open

Downloaded introspectionSchema.json File is not completed #195

Amrhalawani opened this issue Jan 18, 2021 · 0 comments

Comments

@Amrhalawani
Copy link

Amrhalawani commented Jan 18, 2021

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

@Amrhalawani Amrhalawani changed the title introspectionSchema.json not completed Downloaded introspectionSchema.json File is not completed Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant