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