eddeee888 / graphql-code-generator-plugins

List of GraphQL Code Generator plugins that complements the official plugins.
MIT License
52 stars 13 forks source link

Use typescript resolvers meta to support `namingConvention` for generated types of GraphQL definitions #301

Closed eddeee888 closed 5 months ago

eddeee888 commented 5 months ago

@graphql-codegen/typescript-resolvers@4.1.0 creates meta object after generation, implemented in this PR

With this logic, we can now fully support namingConvention. We can remove the warning message in v1.0, as we can use this time to trial run it.

Note: this PR only handles the generated resolver types. We still have the Root resolver type to handle

changeset-bot[bot] commented 5 months ago

🦋 Changeset detected

Latest commit: 7f465d571a6a3508999f3fcf1708ad9af55a2716

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------------------------------- | ----- | | @eddeee888/gcg-typescript-resolver-files | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR