Class: Types::QueryType

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

Defined Under Namespace

Classes: DesignManagementObject

Instance Method Summary collapse

Methods inherited from BaseObject

#current_user, #id

Instance Method Details

#design_managementObject


84
85
86
# File 'app/graphql/types/query_type.rb', line 84

def design_management
  DesignManagementObject.new(nil)
end

#issue(id:) ⇒ Object


88
89
90
# File 'app/graphql/types/query_type.rb', line 88

def issue(id:)
  GitlabSchema.object_from_id(id, expected_type: ::Issue)
end