gatsby-github-displayer
gatsby-github-displayer copied to clipboard
Why the need for createSchema?
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