Commit 50a24009 authored by Vitali Tatarintev's avatar Vitali Tatarintev

Merge branch 'ajk-graphql-global-id-issue-move-list' into 'master'

Fix Rubocop violations in the issue-move-list mutation

See merge request gitlab-org/gitlab!55610
parents 01d7654b c51c7ec2
......@@ -5,8 +5,11 @@ module Mutations
module Issues
class IssueMoveList < Mutations::Issues::Base
graphql_name 'IssueMoveList'
BoardGID = ::Types::GlobalIDType[::Board]
ListID = ::GraphQL::ID_TYPE
IssueID = ::GraphQL::ID_TYPE
argument :board_id, GraphQL::ID_TYPE,
argument :board_id, BoardGID,
required: true,
loads: Types::BoardType,
description: 'Global ID of the board that the issue is in.'
......@@ -19,19 +22,19 @@ module Mutations
required: true,
description: 'IID of the issue to mutate.'
argument :from_list_id, GraphQL::ID_TYPE,
argument :from_list_id, ListID,
required: false,
description: 'ID of the board list that the issue will be moved from.'
argument :to_list_id, GraphQL::ID_TYPE,
argument :to_list_id, ListID,
required: false,
description: 'ID of the board list that the issue will be moved to.'
argument :move_before_id, GraphQL::ID_TYPE,
argument :move_before_id, IssueID,
required: false,
description: 'ID of issue that should be placed before the current issue.'
argument :move_after_id, GraphQL::ID_TYPE,
argument :move_after_id, IssueID,
required: false,
description: 'ID of issue that should be placed after the current issue.'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment