Derek Nguyen
Derek Nguyen
Not sure if this should be the way to move forward. This will allow us to provide a smoother experience for 100% typescrip codebase, i.e generating typings for queries in...
This way user can just import the file directly ```js import { MyQuery } from 'gatsby-ts' ``` Instead of the `../../..` they're doing now. Also avoid the confusion shown in...
When users install the plugin to their site, they'll met with 10s of dependencies warnings for graphql. We have to use Gatsby's own graphql (gatsby/graphql). I'm not sure how to...
- [ ] allow config to be `.ts` - [ ] allow `/plugins/` files to be `.ts` - [ ] auto reload gatsby develop on gatsby-node.ts change
Current minimal setup: ```js exports.default = { plugins: [{ resolve: `gatsby-plugin-graphql-codegen`, options: { // (1) additionalSchemas: [{ // (2) key: 'pokemon', // (3) fileName: './graphql-pokemon.ts', schema: 'https://graphql-pokemon.now.sh/', // (4) pluckConfig:...
fix test
Somehow our test didnt catch #77
Would be fun + cool
Apparently there are three (3!) other plugins that does the same thing as gatsby-plugin-graphql-codegen: - https://github.com/cometkim/gatsby-plugin-typegen - https://github.com/daugsbi/gatsby-plugin-codegen (New typescript website uses this) - https://github.com/neugelb/gatsby-plugin-generate-typings It looks like some of...