Class: Types::GroupMemberType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/group_member_type.rb

Instance Method Summary collapse

Methods inherited from BaseObject

accepts, assignable?, authorization, authorize, authorized?, #current_user, #id

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#groupObject



20
21
22
# File 'app/graphql/types/group_member_type.rb', line 20

def group
  Gitlab::Graphql::Loaders::BatchModelLoader.new(Group, object.source_id).find
end