apollographql / federation-next

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

FED-189: port extractDeferFromOperation #284

Closed duckki closed 4 months ago

duckki commented 4 months ago

Implemented extract_defer_from_operation function.

Even though most of its functionality won't be used until @defer is actually implemented, it's called from compute_nodes_for_op_path_element and we would've needed some implementation anyways. So, I ported all of it.

duckki commented 4 months ago

About the FetchDependencyGraphPath => FetchDependencyGraphNodePath change, see my Slack discussion with Sachin.

duckki commented 4 months ago

@TylerBloom Thanks for the review! I just accepted your suggestions and pushed it.