Commit 6a4cb976 authored by Mario Celi's avatar Mario Celi

Remove usage of `to_list_type` in GQL types

- to_list_type is part of the gem's private API and should not be used
parent 3ae0a8bf
...@@ -12,10 +12,10 @@ module IssueResolverArguments ...@@ -12,10 +12,10 @@ module IssueResolverArguments
argument :iids, [GraphQL::STRING_TYPE], argument :iids, [GraphQL::STRING_TYPE],
required: false, required: false,
description: 'List of IIDs of issues. For example, [1, 2].' description: 'List of IIDs of issues. For example, [1, 2].'
argument :label_name, GraphQL::STRING_TYPE.to_list_type, argument :label_name, [GraphQL::STRING_TYPE, null: true],
required: false, required: false,
description: 'Labels applied to this issue.' description: 'Labels applied to this issue.'
argument :milestone_title, GraphQL::STRING_TYPE.to_list_type, argument :milestone_title, [GraphQL::STRING_TYPE, null: true],
required: false, required: false,
description: 'Milestone applied to this issue.' description: 'Milestone applied to this issue.'
argument :author_username, GraphQL::STRING_TYPE, argument :author_username, GraphQL::STRING_TYPE,
......
...@@ -4,7 +4,7 @@ module Types ...@@ -4,7 +4,7 @@ module Types
module Boards module Boards
# Common arguments that we can be used to filter boards epics and issues # Common arguments that we can be used to filter boards epics and issues
class BoardIssuableInputBaseType < BaseInputObject class BoardIssuableInputBaseType < BaseInputObject
argument :label_name, GraphQL::STRING_TYPE.to_list_type, argument :label_name, [GraphQL::STRING_TYPE, null: true],
required: false, required: false,
description: 'Filter by label name.' description: 'Filter by label name.'
......
...@@ -8,7 +8,7 @@ module Types ...@@ -8,7 +8,7 @@ module Types
required: false, required: false,
description: 'Filter by milestone title.' description: 'Filter by milestone title.'
argument :assignee_username, GraphQL::STRING_TYPE.to_list_type, argument :assignee_username, [GraphQL::STRING_TYPE, null: true],
required: false, required: false,
description: 'Filter by assignee username.' description: 'Filter by assignee username.'
......
...@@ -8,10 +8,10 @@ module Types ...@@ -8,10 +8,10 @@ module Types
argument :iids, [GraphQL::STRING_TYPE], argument :iids, [GraphQL::STRING_TYPE],
required: false, required: false,
description: 'List of IIDs of issues to exclude. For example, [1, 2].' description: 'List of IIDs of issues to exclude. For example, [1, 2].'
argument :label_name, GraphQL::STRING_TYPE.to_list_type, argument :label_name, [GraphQL::STRING_TYPE],
required: false, required: false,
description: 'Labels not applied to this issue.' description: 'Labels not applied to this issue.'
argument :milestone_title, GraphQL::STRING_TYPE.to_list_type, argument :milestone_title, [GraphQL::STRING_TYPE],
required: false, required: false,
description: 'Milestone not applied to this issue.' description: 'Milestone not applied to this issue.'
argument :assignee_username, GraphQL::STRING_TYPE, argument :assignee_username, GraphQL::STRING_TYPE,
......
...@@ -7,7 +7,7 @@ module EE ...@@ -7,7 +7,7 @@ module EE
extend ::Gitlab::Utils::Override extend ::Gitlab::Utils::Override
prepended do prepended do
argument :iteration_id, ::GraphQL::ID_TYPE.to_list_type, argument :iteration_id, [::GraphQL::ID_TYPE, null: true],
required: false, required: false,
description: 'Iterations applied to the issue.' description: 'Iterations applied to the issue.'
argument :epic_id, GraphQL::STRING_TYPE, argument :epic_id, GraphQL::STRING_TYPE,
......
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