github ardatan/graphql-tools release-1721307904893
July 18, 2024

latest releases: release-1726086017332, @graphql-tools/federation@2.2.10, release-1724948218474...
2 months ago

@graphql-tools/delegate@10.0.14

Patch Changes

  • #6356
    8094c37
    Thanks @enisdenjo! - AggregateError errors are GraphQL located
    errors

    Instead 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/executor-http@1.1.5

Patch Changes

@graphql-tools/federation@2.1.2

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.
  • Updated dependencies
    [8094c37,
    97c88a0]:

    • @graphql-tools/delegate@10.0.14
    • @graphql-tools/executor-http@1.1.5

Don't miss a new graphql-tools release

NewReleases is sending notifications on new releases.