lib/graphql/compatibility/execution_specification/specification_schema.rb in graphql-1.10.7 vs lib/graphql/compatibility/execution_specification/specification_schema.rb in graphql-1.10.8

- old
+ new

@@ -41,11 +41,11 @@ class CustomCollection def initialize(storage) @storage = storage end - def each - @storage.each { |i| yield(i) } + def each(&block) + @storage.each(&block) end end module TestMiddleware def self.call(parent_type, parent_object, field_definition, field_args, query_context, &next_middleware)