blob: bee30597e4c5dfe2fb8ba56c9bcaa20b62e5acb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
module Types
class DescriptionVersionType < BaseObject
graphql_name 'DescriptionVersion'
authorize :read_issuable
field :id, ::Types::GlobalIDType[::DescriptionVersion],
null: false,
description: 'ID of the description version.'
field :description, GraphQL::Types::String,
null: true,
description: 'Content of the given description version.'
end
end
Types::DescriptionVersionType.prepend_mod
|