Class: Types::WorkItems::LinkedItemType

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

Overview

rubocop:disable Graphql/AuthorizeTypes – authorized by resolver

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from BaseObject

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

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Class Method Details

.authorization_scopesObject



9
10
11
# File 'app/graphql/types/work_items/linked_item_type.rb', line 9

def self.authorization_scopes
  super + [:ai_workflows]
end

Instance Method Details

#work_itemObject



34
35
36
# File 'app/graphql/types/work_items/linked_item_type.rb', line 34

def work_item
  object
end