@graphql-tools/delegate@10.0.20
Patch Changes
-
#6469
0e87805
Thanks @User!! - Handle merged selection sets in the computed fields;When a selection set for a computed field needs to be merged, resolve that required selection set
fully then resolve the computed field. In the following case, the selection set for theauthor
field in thePost
type is merged with the selection set for theauthorId
field in the
Comment
type.type Query { feed: [Post!]! } type Post { id: ID! @computed(selectionSet: "{ comments { authorId } }") } type Comment { id: ID! authorId: ID! } type User { id: ID! name: String! }
type Post { id: ID! comments: [Comment!]! } type Comment { id: ID! }
@graphql-tools/federation@2.2.9
Patch Changes
-
#6469
0e87805
Thanks @User!! - Handle merged selection sets in the computed fields;When a selection set for a computed field needs to be merged, resolve that required selection set
fully then resolve the computed field. In the following case, the selection set for theauthor
field in thePost
type is merged with the selection set for theauthorId
field in the
Comment
type.type Query { feed: [Post!]! } type Post { id: ID! @computed(selectionSet: "{ comments { authorId } }") } type Comment { id: ID! authorId: ID! } type User { id: ID! name: String! }
type Post { id: ID! comments: [Comment!]! } type Comment { id: ID! }
-
Updated dependencies
[0e87805
]:- @graphql-tools/delegate@10.0.20