graphql-code-generator
graphql-code-generator copied to clipboard
Typescript Resolvers: Support subpath imports in mappers
Is your feature request related to a problem? Please describe.
I am using typescript-resolvers and want to define mappers for type safety. Mappers require an import of the form <import specifier>#<thing to import>.
However, in some cases I would like the imports to be subpath imports in order to conform with the rest of my codebase. This is not supported right now because # was already used in the mapper syntax, so I need to hack around this by using relative imports for now.
Describe the solution you'd like
Extend the mappers syntax to support subpath imports. Maybe by using \# to distinguish between #?
Describe alternatives you've considered
No response
Is your feature request related to a problem? Please describe.
No response