class GraphQL::Execution::Interpreter::RawValue
Wrapper for raw values
Public Class Methods
(?untyped obj) → void
Source
# File lib/graphql/execution/interpreter/handles_raw_value.rb, line 18 def initialize(obj = nil) @object = obj #: untyped end
Public Instance Methods
(GraphQL::Query query, untyped result_data, String | Integer result_key) → void
Source
# File lib/graphql/execution/interpreter/handles_raw_value.rb, line 13 def finalize_graphql_result(query, result_data, result_key) result_data[result_key] = @object end
→ untyped
Source
# File lib/graphql/execution/interpreter/handles_raw_value.rb, line 23 def resolve @object end