eddeee888 / graphql-code-generator-plugins

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

Fix multi dash path for modules that extend object type in another module #194

Closed eddeee888 closed 8 months ago

eddeee888 commented 8 months ago

Previously, the logic to normalise resolver name was not handling - correctly when it appears in the file path of a module that extends object of another module.

This PR fixes it by correctly normalising resolver name to variable name for both - and . cases.

Related PR: https://github.com/eddeee888/graphql-code-generator-plugins/issues/192

changeset-bot[bot] commented 8 months ago

🦋 Changeset detected

Latest commit: 111306b8c6e658c37689a2c16493a60293e4be65

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 | Patch |

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