github ardatan/graphql-tools release-1723117870341
August 08, 2024

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

@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 }")
    }

Don't miss a new graphql-tools release

NewReleases is sending notifications on new releases.