@graphql-tools/executor-urql-exchange@1.0.22
Patch Changes
- #7370
c1e31a2
Thanks @renovate! - dependencies updates:- Updated dependency
@urql/core@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0
↗︎
(from^3.0.0 || ^4.0.0 || ^5.0.0
, inpeerDependencies
)
- Updated dependency
@graphql-tools/import@7.1.0
Minor Changes
-
#7310
692cfeb
Thanks @HunterLarco! - GraphQL schemas in large projects,
especially monorepos, suffer from fragile and verbose relative import paths that become difficult
to maintain as projects grow. This change brings TypeScript's popular
tsconfig.json#paths
aliasing syntax to GraphQL
imports, enabling clean, maintainable import statements across your GraphQL schema files.Before - Brittle relative imports:
#import "../../../shared/models/User.graphql" #import "../../../../common/types/Product.graphql"
After - Clean, semantic aliases:
#import "@models/User.graphql" #import "@types/Product.graphql"
Configuration Example
{ mappings: { '@models/*': path.join(__dirname, './models/*'), '@types/*': path.join(__dirname, './shared/types/*'), } }
This change is introduced in a backwards compatible way to ensure no existing use cases are broken
while using familiar patterns to typescript developers for structuring import aliases.
@graphql-tools/links@9.0.30
Patch Changes
- #7103
296b883
Thanks @dependabot! - dependencies updates:- Updated dependency
apollo-upload-client@18.0.1
↗︎
(from17.0.0
, independencies
)
- Updated dependency
@graphql-tools/graphql-file-loader@8.1.0
Minor Changes
-
#7310
692cfeb
Thanks @HunterLarco! - GraphQL schemas in large projects,
especially monorepos, suffer from fragile and verbose relative import paths that become difficult
to maintain as projects grow. This change brings TypeScript's popular
tsconfig.json#paths
aliasing syntax to GraphQL
imports, enabling clean, maintainable import statements across your GraphQL schema files.Before - Brittle relative imports:
#import "../../../shared/models/User.graphql" #import "../../../../common/types/Product.graphql"
After - Clean, semantic aliases:
#import "@models/User.graphql" #import "@types/Product.graphql"
Configuration Example
{ mappings: { '@models/*': path.join(__dirname, './models/*'), '@types/*': path.join(__dirname, './shared/types/*'), } }
This change is introduced in a backwards compatible way to ensure no existing use cases are broken
while using familiar patterns to typescript developers for structuring import aliases.
Patch Changes
- Updated dependencies
[692cfeb
]:- @graphql-tools/import@7.1.0
@graphql-tools/node-require@7.0.25
Patch Changes
- Updated dependencies
[692cfeb
]:- @graphql-tools/graphql-file-loader@8.1.0