Skip to content

Commit 65a2da0

Browse files
committed
ok
1 parent 619abae commit 65a2da0

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/query-planner/src/planner/fetch/optimize/merge_passthrough_child.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,12 +107,10 @@ impl FetchStepData<MultiTypeFetchStep> {
107107
return false;
108108
}
109109

110+
// TODO: Use selection_items_are_subset_of
110111
for (def_name, selections) in other.output_new.iter_selections() {
111112
if &other.input.type_name == def_name
112-
&& selection_items_are_subset_of(
113-
&other.input.selection_set.items,
114-
&selections.items,
115-
)
113+
&& other.input.selection_set.items == selections.items
116114
{
117115
return true;
118116
}

0 commit comments

Comments
 (0)