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.
componentSuffix option of typescript-react-apollo plugin allows us to generate React Apollo components with arbitrary suffixes. The default is XXXComponent but many would like to generate something like XXXQuery. However, this format is already reserved for generated query response types, e.g.
Although type names and component names should not clash, it would be preferrable to be able to also customize names of generated query responses via some similar option in config. I think querySuffix is appropriate.
Describe alternatives you've considered
Is this better done somehow by extending the execution flow?
Additional context
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
componentSuffix
option oftypescript-react-apollo
plugin allows us to generate React Apollo components with arbitrary suffixes. The default isXXXComponent
but many would like to generate something likeXXXQuery
. However, this format is already reserved for generated query response types, e.g.Describe the solution you'd like
Although type names and component names should not clash, it would be preferrable to be able to also customize names of generated query responses via some similar option in config. I think
querySuffix
is appropriate.Describe alternatives you've considered
Is this better done somehow by extending the execution flow?
Additional context
The text was updated successfully, but these errors were encountered: