Method: GraphQL::Schema::Warden#interface_type_memberships

Defined in:
lib/graphql/schema/warden.rb

#interface_type_memberships(obj_type, _ctx = nil) ⇒ 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.



398
399
400
401
402
403
# File 'lib/graphql/schema/warden.rb', line 398

def interface_type_memberships(obj_type, _ctx = nil)
  @type_memberships ||= read_through do |obj_t|
    obj_t.interface_type_memberships
  end
  @type_memberships[obj_type]
end