Class: Types::WorkItems::WidgetDefinitions::StartAndDueDateType

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

Overview

rubocop:disable Graphql/AuthorizeTypes – Authorization too granular, parent type is authorized

Instance Method Summary collapse

Methods inherited from BaseObject

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

Methods included from Gitlab::Graphql::Present

#present, #unpresented

Instance Method Details

#can_roll_upObject



18
19
20
# File 'app/graphql/types/work_items/widget_definitions/start_and_due_date_type.rb', line 18

def can_roll_up
  object.widget_options&.dig(object.widget_type.to_sym, :can_roll_up)
end