Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dariuszkuc committed Dec 17, 2024
1 parent 7b27387 commit 3ce7e9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apollo-federation/src/operation/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3141,8 +3141,7 @@ impl SelectionSet {
defer_labels: &IndexSet<String>,
named_fragments: &NamedFragments,
) -> Result<Self, FederationError> {
let mut reduce_defer =
SelectionSet::empty(self.schema.clone(), self.type_position.clone());
let mut reduce_defer = SelectionSet::empty(self.schema.clone(), self.type_position.clone());
for selection in self.selections.values() {
reduce_defer
.add_local_selection(&selection.reduce_defer(defer_labels, named_fragments)?)?;
Expand Down

0 comments on commit 3ce7e9e

Please sign in to comment.