blob: 0a078836a6a7757e4930849adae00033af39f936 (
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 Resolvers
class ProjectMilestonesResolver < MilestonesResolver
include ::API::Concerns::Milestones::GroupProjectParams
argument :include_ancestors, GraphQL::Types::Boolean,
required: false,
description: "Also return milestones in the project's parent group and its ancestors."
type Types::MilestoneType.connection_type, null: true
private
def parent_id_parameters(args)
project_finder_params(parent, args)
end
end
end
|