gatsby-github-displayer icon indicating copy to clipboard operation
gatsby-github-displayer copied to clipboard

Why the need for createSchema?

Open samajammin opened this issue 4 years ago • 0 comments

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

samajammin avatar Jan 21 '21 22:01 samajammin