jfrolich / reason-gatsby-starter-blog

Gatsby starter for creating a blog
https://gatsby-starter-blog-demo.netlify.com/
MIT License
27 stars 3 forks source link

Can Typegen helps? #3

Open cometkim opened 4 years ago

cometkim commented 4 years ago

Hi :wave:, I am the author of gatsby-plugin-typegen and I am really interested in using the Gatsby project with Reason.

I'm wondering if gatsby-plugin-typegen has a way to help this.

The plugin has an efficient (way more than others) infra to codegen for Gatsby queries.

Please suggest anything if the plugin can help to support Reason in GatsbyJS

Or you might be interested in making a better custom PPX for Gatsby (something other than graphql_ppx). It should cover different user stories for static query and page query, and it's not as simple as it needs to interact with gatsby-node (eg. to track each context type for each createPage call). I'd love to discuss it with you :)

cometkim commented 4 years ago

FYI: the plugin also provides stable functionalities for tooling like schema extraction and plugin documents extraction