debian-mirror-gitlab/app/graphql/mutations/boards/common_mutation_arguments.rb
2021-02-22 17:27:13 +05:30

24 lines
729 B
Ruby

# frozen_string_literal: true
module Mutations
module Boards
module CommonMutationArguments
extend ActiveSupport::Concern
included do
argument :name,
GraphQL::STRING_TYPE,
required: false,
description: 'The board name.'
argument :hide_backlog_list,
GraphQL::BOOLEAN_TYPE,
required: false,
description: copy_field_description(Types::BoardType, :hide_backlog_list)
argument :hide_closed_list,
GraphQL::BOOLEAN_TYPE,
required: false,
description: copy_field_description(Types::BoardType, :hide_closed_list)
end
end
end
end