Module: GraphQL::FragmentCache::Connections::Patch

Defined in:
lib/graphql/fragment_cache/connections/patch.rb

Overview

Patches GraphQL::Pagination::Connections to support raw values

Instance Method Summary collapse

Instance Method Details

#wrap(field, parent, items, arguments, context, *options) ⇒ Object



9
10
11
# File 'lib/graphql/fragment_cache/connections/patch.rb', line 9

def wrap(field, object, arguments, context, *options)
  raw_value?(object) ? object : super
end