Skip to content

Commit add47cc

Browse files
committed
Update breadth-first spec
1 parent f5a87f3 commit add47cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spec/graphql/execution/breadth_runtime_spec.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def initialize(query:)
1818
max_complexity: nil,
1919
)
2020

21-
super(query: query, lazies_at_depth: Hash.new { |h, k| h[k] = [] })
21+
super(query: query)
2222
@breadth_results_by_key = {}
2323
end
2424

@@ -50,7 +50,6 @@ def evaluate_breadth_selection(objects, parent_type, node)
5050
end
5151

5252
@dataloader.run
53-
GraphQL::Execution::Interpreter::Resolve.resolve_each_depth(@lazies_at_depth, @dataloader)
5453

5554
@breadth_results_by_key[result_key]
5655
end

0 commit comments

Comments
 (0)