lib/graphql/execution/interpreter.rb in graphql-2.0.20 vs lib/graphql/execution/interpreter.rb in graphql-2.0.21
- old
+ new
@@ -12,10 +12,10 @@
module Execution
class Interpreter
class << self
# Used internally to signal that the query shouldn't be executed
# @api private
- NO_OPERATION = {}.freeze
+ NO_OPERATION = GraphQL::EmptyObjects::EMPTY_HASH
# @param schema [GraphQL::Schema]
# @param queries [Array<GraphQL::Query, Hash>]
# @param context [Hash]
# @param max_complexity [Integer, nil]