Module: GraphQL::Execution::Interpreter::HandlesRawValue

Defined in:
lib/graphql/execution/interpreter/handles_raw_value.rb

Overview

Allows to return “raw” value from the resolver

Instance Method Summary collapse

Instance Method Details

#raw_value(obj) ⇒ Object



19
20
21
# File 'lib/graphql/execution/interpreter/handles_raw_value.rb', line 19

def raw_value(obj)
  RawValue.new(obj)
end