lib/graphql/execution/multiplex.rb in graphql-1.9.21 vs lib/graphql/execution/multiplex.rb in graphql-1.10.0.pre1
- old
+ new
@@ -42,12 +42,12 @@
end
@max_complexity = max_complexity
end
class << self
- def run_all(schema, query_options, **kwargs)
- queries = query_options.map { |opts| GraphQL::Query.new(schema, nil, **opts) }
- run_queries(schema, queries, **kwargs)
+ def run_all(schema, query_options, *args)
+ queries = query_options.map { |opts| GraphQL::Query.new(schema, nil, opts) }
+ run_queries(schema, queries, *args)
end
# @param schema [GraphQL::Schema]
# @param queries [Array<GraphQL::Query>]
# @param context [Hash]