gatsby-plugin-typegen icon indicating copy to clipboard operation
gatsby-plugin-typegen copied to clipboard

Let's give developers using GatsbyJS better DX with extreme type-safety

Results 12 gatsby-plugin-typegen issues
Sort by recently updated
recently updated
newest added

GatsbyJS now provides [builtin Typegen for GraphQL queries feature](https://www.gatsbyjs.com/blog/how-to-use-gatsby-graphql-type-generation/), which was [ported from gatsby-plugin-typegen v3](https://github.com/gatsbyjs/gatsby/discussions/35420) This was a major milestone of gatsby-plugin-typegen [as a long time](https://github.com/gatsbyjs/gatsby/discussions/18983#discussioncomment-102623). Now it has become...

tooling
discussion

- [ ] PageProps: #74 - [ ] ~~PluginOptionsSchema: #121~~ - [ ] gatsby-node: #110

enhancement
tooling

enhancement
help wanted

Hi, I'm trying to get types generated for my root query in gatsby-node.ts. Somehow this seems to not work. I used a query name (e.g. `query GatsbyNode ...`) as with...

enhancement
question
discussion

Consider the following example: ```js { resolve: `gatsby-plugin-typegen`, options: { outputPath: `${__dirname}/src/__generated__/gatsby-types.d.ts`, emitSchema: { 'src/__generated__/gatsby-introspection.json': true, }, emitPluginDocuments: { 'src/__generated__/gatsby-plugin-documents.graphql': true, }, } } ``` Shipping types with a theme...

enhancement
discussion

I will be nice to add an option generate a export files instead of a namespace called `GatsbyTypes` That way one can simply import the necessary types directly.

discussion

- Codegen for page context (that provided in createPage) - Design DX for auto-fixing page queries. - more use cases in page component

enhancement

https://github.com/francisrstokes/super-expressive :sweat_smile:

help wanted
good first issue

https://github.com/kamilkisiela/graphql-config

documentation
help wanted
good first issue