Skip to content

Commit

Permalink
fixed a logic bug in check_can_reuse_fragment_and_track_it (one-lin…
Browse files Browse the repository at this point in the history
…er) (#5243)
  • Loading branch information
duckki committed May 24, 2024
1 parent 80655a2 commit bc3a85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo-federation/src/query_plan/optimize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ impl FieldsConflictMultiBranchValidator {
return Ok(true); // Nothing to check; Trivially ok.
};

if validator.do_merge_with_all(self.validators.iter().map(Arc::as_ref))? {
if !validator.do_merge_with_all(self.validators.iter().map(Arc::as_ref))? {
return Ok(false);
}

Expand Down

0 comments on commit bc3a85c

Please sign in to comment.