@graphql-tools/delegate@10.0.18
Patch Changes
-
#6420
a867bbc
Thanks @ardatan! - dependencies updates:- Added dependency
@repeaterjs/repeater@^3.0.6
↗︎
(todependencies
)
- Added dependency
-
#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 callIf there are two subschemas like below, the final
Node
interface is implemented by bothOven
andToaster
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 acceptsAsyncIterable
-
Updated dependencies
[a867bbc
]:- @graphql-tools/utils@10.3.4