Commit 75d78d72 authored by Igor Drozdov's avatar Igor Drozdov

Merge branch '213742_fix_link_type_argument_type_of_issue_links_resolver' into 'master'

Change the linkType argument for issueLinks query to enum

See merge request gitlab-org/gitlab!33828
parents f57750a8 20ade93c
...@@ -12725,7 +12725,7 @@ type Vulnerability { ...@@ -12725,7 +12725,7 @@ type Vulnerability {
""" """
Filter issue links by link type Filter issue links by link type
""" """
linkType: [VulnerabilityIssueLinkType!] linkType: VulnerabilityIssueLinkType
): VulnerabilityIssueLinkConnection! ): VulnerabilityIssueLinkConnection!
""" """
......
...@@ -37400,17 +37400,9 @@ ...@@ -37400,17 +37400,9 @@
"name": "linkType", "name": "linkType",
"description": "Filter issue links by link type", "description": "Filter issue links by link type",
"type": { "type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM", "kind": "ENUM",
"name": "VulnerabilityIssueLinkType", "name": "VulnerabilityIssueLinkType",
"ofType": null "ofType": null
}
}
}, },
"defaultValue": null "defaultValue": null
}, },
...@@ -5,7 +5,7 @@ module Resolvers ...@@ -5,7 +5,7 @@ module Resolvers
class IssueLinksResolver < BaseResolver class IssueLinksResolver < BaseResolver
type Types::Vulnerability::IssueLinkType, null: true type Types::Vulnerability::IssueLinkType, null: true
argument :link_type, [Types::Vulnerability::IssueLinkTypeEnum], argument :link_type, Types::Vulnerability::IssueLinkTypeEnum,
required: false, required: false,
description: 'Filter issue links by link type' description: 'Filter issue links by link type'
......
---
title: Change the linkType argument for issueLinks query to enum
merge_request: 33828
author:
type: fixed
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