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

Why the need for createSchema? #3

Open
samajammin opened this issue Jan 21, 2021 · 0 comments
Open

Why the need for createSchema? #3

samajammin opened this issue Jan 21, 2021 · 0 comments

Comments

@samajammin
Copy link

Hey there! Thanks for creating this demo app.

I'm curious - why the need for createSchema in the gatsby-config.js:
https://github.com/freiksenet/gatsby-github-displayer/blob/master/gatsby-config.js#L21

Also - how are you generating that JSON file?
via $ curl -H "Authorization: bearer token" https://api.github.com/graphql?
https://docs.github.com/en/graphql/guides/introduction-to-graphql#discovering-the-graphql-api

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