diff --git a/lib/graphql/client.rb b/lib/graphql/client.rb index 7741c08..aae2f12 100644 --- a/lib/graphql/client.rb +++ b/lib/graphql/client.rb @@ -403,7 +403,6 @@ def sliced_definitions(document_dependencies, doc, source_location:) doc.definitions.map do |node| deps = Set.new - definitions = document_dependencies.definitions.map { |x| [x.name, x] }.to_h queue = [node.name] while name = queue.shift