graphql-tools icon indicating copy to clipboard operation
graphql-tools copied to clipboard

enhance(federation): optimize the delegation stage, and remove extra subgraph calls when possible

Open ardatan opened this issue 1 month ago • 4 comments

If there is a subschema with some selection set, and another with some other selection set. After the calculation of delegation stage, if one subschema can cover the other selection set as well, then we can merge the two selection sets into one, and remove the other subschema from the stage.

ardatan avatar May 13 '24 14:05 ardatan