Method: GraphQL::Schema::Member::HasDirectives#inherited

Defined in:
lib/graphql/schema/member/has_directives.rb

#inherited(child_cls) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



12
13
14
15
# File 'lib/graphql/schema/member/has_directives.rb', line 12

def inherited(child_cls)
  super
  child_cls.own_directives = nil
end