Class: Types::DesignManagement::DesignAtVersionType

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

#cached_stateful_version(_parent) ⇒ Object


28
29
30
# File 'app/graphql/types/design_management/design_at_version_type.rb', line 28

def cached_stateful_version(_parent)
  version
end

#notes_countObject


32
33
34
# File 'app/graphql/types/design_management/design_at_version_type.rb', line 32

def notes_count
  design.user_notes_count
end