Commit 20ade93c authored by Mehmet Emin INAC's avatar Mehmet Emin INAC Committed by Igor Drozdov

Change the linkType argument for issueLinks query to enum

parent 058692fa
......@@ -12725,7 +12725,7 @@ type Vulnerability {
"""
Filter issue links by link type
"""
linkType: [VulnerabilityIssueLinkType!]
linkType: VulnerabilityIssueLinkType
): VulnerabilityIssueLinkConnection!
"""
......
......@@ -37400,17 +37400,9 @@
"name": "linkType",
"description": "Filter issue links by link type",
"type": {
"kind": "LIST",
"name": null,
"ofType": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "ENUM",
"name": "VulnerabilityIssueLinkType",
"ofType": null
}
}
"kind": "ENUM",
"name": "VulnerabilityIssueLinkType",
"ofType": null
},
"defaultValue": null
},
......@@ -5,7 +5,7 @@ module Resolvers
class IssueLinksResolver < BaseResolver
type Types::Vulnerability::IssueLinkType, null: true
argument :link_type, [Types::Vulnerability::IssueLinkTypeEnum],
argument :link_type, Types::Vulnerability::IssueLinkTypeEnum,
required: false,
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