Module: GraphQL::Schema::Member::HasInterfaces::ClassConfigured::InheritedInterfaces Private
- Defined in:
 - lib/graphql/schema/member/has_interfaces.rb
 
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Instance Method Summary collapse
- 
  
    
      #interface_type_memberships  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
 - 
  
    
      #interfaces(context = GraphQL::Query::NullContext)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  private
  
    
 
Instance Method Details
#interface_type_memberships ⇒ 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.
      80 81 82 83 84 85 86 87 88  | 
    
      # File 'lib/graphql/schema/member/has_interfaces.rb', line 80 def interface_type_memberships own_tms = super inherited_tms = superclass.interface_type_memberships if inherited_tms.size > 0 own_tms + inherited_tms else own_tms end end  | 
  
#interfaces(context = GraphQL::Query::NullContext) ⇒ 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.
      73 74 75 76 77 78  | 
    
      # File 'lib/graphql/schema/member/has_interfaces.rb', line 73 def interfaces(context = GraphQL::Query::NullContext) visible_interfaces = super visible_interfaces.concat(superclass.interfaces(context)) visible_interfaces.uniq! visible_interfaces end  |