module GraphQL::FragmentCache::Object

Adds cache_fragment method and kwarg option

Public Class Methods

included(base) click to toggle source
# File lib/graphql/fragment_cache/object.rb, line 10
def self.included(base)
  base.include(GraphQL::FragmentCache::ObjectHelpers)
  base.field_class.prepend(GraphQL::FragmentCache::FieldExtension::Patch)
end