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.
In monorepos it's a common pattern to organize code across multiple internal packages.
Currently it's not possible to import a GQL fragment using a module path to an internal package, e.g. #import '@company/graphql/FooFields.gql'.
Describe the solution you'd like
I'd like to add support for module paths.
Describe alternatives you've considered
Relative paths: These work today but are not ergonomic or consistent with best practices for imports in JS/TS files. Further, we cannot utilize the mappings provided by the package.json exports field.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In monorepos it's a common pattern to organize code across multiple internal packages.
Currently it's not possible to import a GQL fragment using a module path to an internal package, e.g.
#import '@company/graphql/FooFields.gql'
.Describe the solution you'd like
I'd like to add support for module paths.
Describe alternatives you've considered
Relative paths: These work today but are not ergonomic or consistent with best practices for imports in JS/TS files. Further, we cannot utilize the mappings provided by the package.json
exports
field.Additional context
N/A
The text was updated successfully, but these errors were encountered: