module GraphQL::FragmentCache::Connections::Patch
Patches GraphQL::Pagination::Connections to support raw values
Public Instance Methods
wrap(field, object, arguments, context, *options)
click to toggle source
Calls superclass method
# File lib/graphql/fragment_cache/connections/patch.rb, line 9 def wrap(field, object, arguments, context, *options) raw_value?(object) ? object : super end
Private Instance Methods
raw_value?(value)
click to toggle source
# File lib/graphql/fragment_cache/connections/patch.rb, line 20 def raw_value?(value) GraphQL::Execution::Interpreter::RawValue === value end