Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
20ade93c
Commit
20ade93c
authored
Jun 04, 2020
by
Mehmet Emin INAC
Committed by
Igor Drozdov
Jun 04, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the linkType argument for issueLinks query to enum
parent
058692fa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
13 deletions
+10
-13
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+1
-1
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+3
-11
ee/app/graphql/resolvers/vulnerabilities/issue_links_resolver.rb
...graphql/resolvers/vulnerabilities/issue_links_resolver.rb
+1
-1
ee/changelogs/unreleased/213742_fix_link_type_argument_type_of_issue_links_resolver.yml
...2_fix_link_type_argument_type_of_issue_links_resolver.yml
+5
-0
No files found.
doc/api/graphql/reference/gitlab_schema.graphql
View file @
20ade93c
...
...
@@ -12725,7 +12725,7 @@ type Vulnerability {
"""
Filter
issue
links
by
link
type
"""
linkType
:
[
VulnerabilityIssueLinkType
!]
linkType
:
VulnerabilityIssueLinkType
):
VulnerabilityIssueLinkConnection
!
"""
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
20ade93c
...
...
@@ -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
},
ee/app/graphql/resolvers/vulnerabilities/issue_links_resolver.rb
View file @
20ade93c
...
...
@@ -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'
...
...
ee/changelogs/unreleased/213742_fix_link_type_argument_type_of_issue_links_resolver.yml
0 → 100644
View file @
20ade93c
---
title
:
Change the linkType argument for issueLinks query to enum
merge_request
:
33828
author
:
type
:
fixed
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment