lib/graphql/execution/multiplex.rb in graphql-1.7.13 vs lib/graphql/execution/multiplex.rb in graphql-1.7.14
- old
+ new
@@ -91,10 +91,10 @@
# Get the Query::Result, not the Hash
query.result
end
rescue StandardError
# Assign values here so that the query's `@executed` becomes true
- queries.map { |q| q.result_values ||= nil }
+ queries.map { |q| q.result_values ||= {} }
raise
end
# @param query [GraphQL::Query]
# @return [Hash] The initial result (may not be finished if there are lazy values)