Releases: ardatan/graphql-tools
July 23, 2024
@graphql-tools/[email protected]
Minor Changes
- #6368
334d301
Thanks @EmrysMyrddin! - Expose the loaded supergrapth SDL in
theschema
event
July 23, 2024
@graphql-tools/[email protected]
Patch Changes
-
167b47c
Thanks @ardatan! - New options to configure query batching and
batched delegation{ batchingOptions: { dataLoaderOptions: { maxBatchSize: 10, // Limits the query batching } }, batchDelegateOptions: { maxBatchSize: 10, // Limits the batch delegation } }
Learn more about these here;
Batch Delegation
Query Batching
July 23, 2024
@graphql-tools/[email protected]
Patch Changes
- #6265
ca61aa0
Thanks @snstanton! - fix errors in find and filter with an empty
store
July 22, 2024
@graphql-tools/[email protected]
Patch Changes
-
d54b21a
Thanks @ardatan! - If an abstract type on the gateway resolves to a
type that does not exist on the gateway, return null instead of showing an error to the user -
d54b21a
Thanks @ardatan! - If an enum value coming from the subschema is not
available on gateway, do not show an error to the user but return null instead
@graphql-tools/[email protected]
Patch Changes
-
d54b21a
Thanks @ardatan! - Do not apply type merging for non-resolvable
entities -
Updated dependencies
[d54b21a
,
d54b21a
]:- @graphql-tools/[email protected]
July 18, 2024
@graphql-tools/[email protected]
Patch Changes
-
#6356
8094c37
Thanks @enisdenjo! - AggregateError errors are GraphQL located
errorsInstead of transforming the AggregateError itself to a GraphQL located error.
This is because of two reasons:
- AggregateError wont lose the instanceof its class
- Expanding the AggregateError errors will each contain the proper locations
@graphql-tools/[email protected]
Patch Changes
- #6354
97c88a0
Thanks @enisdenjo! - Handle AggregateErrors by expanding them to
result errors
@graphql-tools/[email protected]
Patch Changes
-
#6355
c6d175b
Thanks @ardatan! - Handle errors coming from subgraphs correctly
when a root field is shared by different subgraphs- If subgraph A returns an error for
Query.foo
, and subgraph B returns the data, ignore the
error and keep it for null fields. - If both subgraphs return errors, return them as
AggregateError
then return them to the gateway
result.
- If subgraph A returns an error for
-
Updated dependencies
[8094c37
,
97c88a0
]:- @graphql-tools/[email protected]
- @graphql-tools/[email protected]
July 13, 2024
@graphql-tools/[email protected]
Patch Changes
- #6343
bec6eac
Thanks @renovate! - dependencies updates:- Updated dependency
@graphql-tools/utils@^10.3.2
↗︎
(from^10.3.1
, independencies
)
- Updated dependency
July 13, 2024
@graphql-tools/[email protected]
Patch Changes
-
#6332
7be6930
Thanks @kamilkisiela! - Strip ignored characters when printing
a query in executor-http -
Updated dependencies
[a276ba8
]:- @graphql-tools/[email protected]
@graphql-tools/[email protected]
Patch Changes
July 05, 2024
@graphql-tools/[email protected]
Patch Changes
-
#6325
9792e80
Thanks @ardatan! - Make the executor disposable optional -
Updated dependencies
[9792e80
]:- @graphql-tools/[email protected]
@graphql-tools/[email protected]
Patch Changes
July 05, 2024
@graphql-tools/[email protected]
Patch Changes
-
#6299
b0ffac8
Thanks @EmrysMyrddin! - When proxying the requests to the HTTP
executor, it should return `GraphQLError` instances in `errors` array -
46eab79
Thanks @ardatan! - Fixed potential leak on executor disposal
July 05, 2024
@graphql-tools/[email protected]
Minor Changes
- #6323
cacf20f
Thanks @ardatan! - Implement Symbol.dispose or Symbol.asyncDispose
to make `Executor`s `Disposable`
Patch Changes
- Updated dependencies
[cacf20f
]:- @graphql-tools/[email protected]
@graphql-tools/[email protected]
Minor Changes
- #6323
cacf20f
Thanks @ardatan! - Implement Symbol.dispose or Symbol.asyncDispose
to make `Executor`s `Disposable`
Patch Changes
- Updated dependencies
[cacf20f
]:- @graphql-tools/[email protected]
@graphql-tools/[email protected]
Minor Changes
- #6323
cacf20f
Thanks @ardatan! - Implement Symbol.dispose or Symbol.asyncDispose
to make `Executor`s `Disposable`
Patch Changes
- Updated dependencies
[cacf20f
]:- @graphql-tools/[email protected]