Welcome to mirror list, hosted at ThFree Co, Russian Federation.

common_mutation_arguments.rb « boards « mutations « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: aedb7c9c7255f8bf71c4327b3aa27216f1b01b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true

module Mutations
  module Boards
    module CommonMutationArguments
      extend ActiveSupport::Concern

      included do
        argument :name,
                 GraphQL::Types::String,
                 required: false,
                 description: 'Board name.'
        argument :hide_backlog_list,
                 GraphQL::Types::Boolean,
                 required: false,
                 description: copy_field_description(Types::BoardType, :hide_backlog_list)
        argument :hide_closed_list,
                 GraphQL::Types::Boolean,
                 required: false,
                 description: copy_field_description(Types::BoardType, :hide_closed_list)
      end
    end
  end
end