module GraphQL::Execution::Interpreter::Runtime::GraphQLResult

def initialize(result_name, parent_result)

def initialize(result_name, parent_result)
  @graphql_parent = parent_result
  if parent_result && parent_result.graphql_dead
    @graphql_dead = true
  end
  @graphql_result_name = result_name
  # Jump through some hoops to avoid creating this duplicate storage if at all possible.
  @graphql_metadata = nil
end