apollographql / federation-next

Moved to the Router repository
https://github.com/apollographql/router/tree/dev/apollo-federation
Other
19 stars 1 forks source link

operation rebase_on logic #239

Closed dariuszkuc closed 5 months ago

dariuszkuc commented 5 months ago

Implements logic to rebase fragments/selections on a given schema.

This is a big PR that introduces some to the underlying selection set data structures - NormalizedFragmentSpreadSelection now includes a selection set from corresponding fragment definition. This now matches how they were represented in both JS and RS implementations.

Some differences between implementations:

dariuszkuc commented 5 months ago

@goto-bus-stop @SimonSapin I addressed all the comments -> please take a look whenever you got a sec