Sha256: 922dac7e39860b69f50444fd6e2fbe9b73d769ac3174c5bc8a9b97bdf892192a
Contents?: true
Size: 450 Bytes
Versions: 23
Compression:
Stored size: 450 Bytes
Contents
# frozen_string_literal: true module GraphQL module Execution class Interpreter # Wrapper for raw values class RawValue def initialize(obj = nil) @object = obj end def resolve @object end end # Allows to return "raw" value from the resolver module HandlesRawValue def raw_value(obj) RawValue.new(obj) end end end end end
Version data entries
23 entries across 23 versions & 1 rubygems