Class: Types::ProjectInvitationType

Inherits:
BaseObject
  • Object
show all
Defined in:
app/graphql/types/project_invitation_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

#projectObject


17
18
19
# File 'app/graphql/types/project_invitation_type.rb', line 17

def project
  Gitlab::Graphql::Loaders::BatchModelLoader.new(Project, object.source_id).find
end