You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Since components generated by typescript-react-apollo all have Component suffix in their name, it is not easy to distinguish between components that do the query work and those that don't in my code. It would be nice to still be able to distinguish the query components from others by using the Query suffix, e.g. not MyItemsComponent but MyItemsQuery. However, there is no way to specify this in the plugin config.
Describe the solution you'd like
Make it possible to specify customSuffix in plugin config inside codegen.yml. E.g. customSuffix: 'Query'.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Since components generated by
typescript-react-apollo
all haveComponent
suffix in their name, it is not easy to distinguish between components that do the query work and those that don't in my code. It would be nice to still be able to distinguish the query components from others by using theQuery
suffix, e.g. notMyItemsComponent
butMyItemsQuery
. However, there is no way to specify this in the plugin config.Describe the solution you'd like
Make it possible to specify
customSuffix
in plugin config insidecodegen.yml
. E.g.customSuffix: 'Query'
.Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: