Skip to content

Releases: ardatan/graphql-tools

August 12, 2024

12 Aug 11:19
e6f44e0
Compare
Choose a tag to compare

@graphql-tools/utils@10.5.1

Patch Changes

  • 6291e14
    Thanks @ardatan! - Add all args from extensions to the AST even if
    they don't exist in the directive def

August 12, 2024

12 Aug 00:01
1657093
Compare
Choose a tag to compare

@graphql-tools/utils@10.5.0

Minor Changes

August 11, 2024

11 Aug 23:54
e6ea454
Compare
Choose a tag to compare

@graphql-tools/federation@2.2.6

Patch Changes

  • b8bf584
    Thanks @ardatan! - Introduce `getDirectiveExtensions` and refactor
    directive handling in the extensions

  • Updated dependencies
    [b8bf584]:

    • @graphql-tools/utils@10.4.0
    • @graphql-tools/schema@10.0.5
    • @graphql-tools/merge@9.0.5

@graphql-tools/merge@9.0.5

Patch Changes

  • b8bf584
    Thanks @ardatan! - Introduce `getDirectiveExtensions` and refactor
    directive handling in the extensions

  • Updated dependencies
    [b8bf584]:

    • @graphql-tools/utils@10.4.0

@graphql-tools/schema@10.0.5

Patch Changes

  • b8bf584
    Thanks @ardatan! - Introduce `getDirectiveExtensions` and refactor
    directive handling in the extensions

  • Updated dependencies
    [b8bf584]:

    • @graphql-tools/utils@10.4.0
    • @graphql-tools/merge@9.0.5

@graphql-tools/utils@10.4.0

Minor Changes

  • b8bf584
    Thanks @ardatan! - Introduce `getDirectiveExtensions` and refactor
    directive handling in the extensions

August 08, 2024

08 Aug 11:51
7e2bb32
Compare
Choose a tag to compare

@graphql-tools/federation@2.2.5

Patch Changes

  • dbb0516
    Thanks @ardatan! - If there are repeated computed fields like below,
    project the data for the computed fields for each fields and merge them correctly. And if they
    are array as in userOrders, merge them by respecting the order (the second one can have price
    maybe).

    type UserOrder @key(fields: "id") {
      id: ID!
      status: String!
      price: Int!
    }
    
    type User @key(fields: "id") {
      id: ID!
      userOrders: [UserOrder!] @external
      totalOrdersPrices: Int @requires(fields: "userOrders { id }")
      aggregatedOrdersByStatus: Int @requires(fields: "userOrders { id }")
    }

August 07, 2024

07 Aug 15:36
05c6121
Compare
Choose a tag to compare

@graphql-tools/delegate@10.0.18

Patch Changes

  • #6420
    a867bbc
    Thanks @ardatan! - dependencies updates:

  • #6420
    a867bbc
    Thanks @ardatan! - Pass operation directives correctly to the
    subschema;

    query {
      hello @someDir
    }
  • #6418
    da93c08
    Thanks @ardatan! - Fix extra inline fragments for all abstract types
    in the upstream schema call

    If there are two subschemas like below, the final Node interface is implemented by both Oven
    and Toaster while they are not implemented in both schemas. In this case the query
    { products { id ... on Node { id } } } will need to be transformed to
    { products { id ... on Oven { id } ... on Node { id } } } for the first subschema. But
    previously the query planner was automatically creating inline fragments for all possible types
    which was not optimal. Now it adds inline fragments only if this case is seen.

    type Query {
      products: [Product]
    }
    
    union Product = Oven | Toaster
    
    interface Node {
      id: ID!
    }
    
    type Oven {
      id: ID!
    }
    
    type Toaster implements Node {
      id: ID!
      warranty: Int
    }

    And another one like below;

    interface Node {
      id: ID!
    }
    
    type Oven implements Node {
      id: ID!
      warranty: Int
    }
  • Updated dependencies
    [a867bbc]:

    • @graphql-tools/executor@1.3.1
    • @graphql-tools/utils@10.3.4

@graphql-tools/executor@1.3.1

Patch Changes

  • #6420
    a867bbc
    Thanks @ardatan! - mapAsyncIterator now accepts AsyncIterable

  • Updated dependencies
    [a867bbc]:

    • @graphql-tools/utils@10.3.4

@graphql-tools/utils@10.3.4

Patch Changes

August 05, 2024

05 Aug 20:10
e079a77
Compare
Choose a tag to compare

cross-inspect@1.0.1

Patch Changes

@graphql-tools/utils@10.3.3

Patch Changes

August 03, 2024

03 Aug 14:39
fba464b
Compare
Choose a tag to compare

@graphql-tools/graphql-tag-pluck@8.3.2

Patch Changes

@graphql-tools/code-file-loader@8.1.3

Patch Changes

  • Updated dependencies
    [d4d3691]:
    • @graphql-tools/graphql-tag-pluck@8.3.2

@graphql-tools/git-loader@8.0.7

Patch Changes

  • Updated dependencies
    [d4d3691]:
    • @graphql-tools/graphql-tag-pluck@8.3.2

August 01, 2024

01 Aug 14:00
396a1a7
Compare
Choose a tag to compare

@graphql-tools/delegate@10.0.17

Patch Changes

  • #6403
    3803897
    Thanks @ardatan! - Cleanup extra fields, empty inline fragments and
    duplicate __typename fields

@graphql-tools/federation@2.2.4

Patch Changes

  • #6403
    3803897
    Thanks @ardatan! - Cleanup extra fields, empty inline fragments and
    duplicate __typename fields

  • Updated dependencies
    [3803897]:

    • @graphql-tools/delegate@10.0.17

July 31, 2024

31 Jul 08:16
77866ec
Compare
Choose a tag to compare

@graphql-tools/federation@2.2.3

Patch Changes

  • 0d203ab
    Thanks @ardatan! - Support @requires with arguments like
    @requires(fields: "price(currency: 'USD')")

July 30, 2024

30 Jul 16:54
1f6b2fa
Compare
Choose a tag to compare

@graphql-tools/stitching-directives@3.1.2

Patch Changes