1# frozen_string_literal: true 2 3module Resolvers 4 class GroupLabelsResolver < LabelsResolver 5 type Types::LabelType.connection_type, null: true 6 7 argument :include_descendant_groups, GraphQL::Types::Boolean, 8 required: false, 9 description: 'Include labels from descendant groups.', 10 default_value: false 11 12 argument :only_group_labels, GraphQL::Types::Boolean, 13 required: false, 14 description: 'Include only group level labels.', 15 default_value: false 16 end 17end 18