blob: 36448c4987b6e496052979f3485d4574525fc095 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# frozen_string_literal: true
module Types
class MilestoneStatsType < BaseObject
graphql_name 'MilestoneStats'
description 'Contains statistics about a milestone'
authorize :read_milestone
field :total_issues_count,
GraphQL::Types::Int,
null: true,
description: 'Total number of issues associated with the milestone.'
field :closed_issues_count,
GraphQL::Types::Int,
null: true,
description: 'Number of closed issues associated with the milestone.'
end
end
|