@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 eachfields
and merge them correctly. And if they
are array as inuserOrders
, merge them by respecting the order (the second one can haveprice
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 }") }