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
bc86213c
Commit
bc86213c
authored
Apr 01, 2020
by
charlieablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix graphql description
'issues' should read 'merge requests'
parent
42387d6d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
app/graphql/resolvers/merge_requests_resolver.rb
app/graphql/resolvers/merge_requests_resolver.rb
+2
-2
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+4
-4
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+4
-4
No files found.
app/graphql/resolvers/merge_requests_resolver.rb
View file @
bc86213c
...
...
@@ -4,11 +4,11 @@ module Resolvers
class
MergeRequestsResolver
<
BaseResolver
argument
:iid
,
GraphQL
::
STRING_TYPE
,
required:
false
,
description:
'
The IID of the merge request, e.g., "1"
'
description:
'
IID of the merge request, for example `1`
'
argument
:iids
,
[
GraphQL
::
STRING_TYPE
],
required:
false
,
description:
'
The list of IIDs of issues, e.g., [1, 2]
'
description:
'
Array of IIDs of merge requests, for example `[1, 2]`
'
type
Types
::
MergeRequestType
,
null:
true
...
...
doc/api/graphql/reference/gitlab_schema.graphql
View file @
bc86213c
...
...
@@ -6147,12 +6147,12 @@ type Project {
"""
mergeRequest
(
"""
The
IID
of
the
merge
request
,
e
.
g
.
,
"1"
IID
of
the
merge
request
,
for
example
`1`
"""
iid
:
String
"""
The
list
of
IIDs
of
issues
,
e
.
g
.
,
[1
,
2]
Array
of
IIDs
of
merge
requests
,
for
example
`[1
,
2]`
"""
iids
:
[
String
!]
):
MergeRequest
...
...
@@ -6177,12 +6177,12 @@ type Project {
first
:
Int
"""
The
IID
of
the
merge
request
,
e
.
g
.
,
"1"
IID
of
the
merge
request
,
for
example
`1`
"""
iid
:
String
"""
The
list
of
IIDs
of
issues
,
e
.
g
.
,
[1
,
2]
Array
of
IIDs
of
merge
requests
,
for
example
`[1
,
2]`
"""
iids
:
[
String
!]
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
bc86213c
...
...
@@ -18471,7 +18471,7 @@
"args"
:
[
{
"name"
:
"iid"
,
"description"
:
"
The IID of the merge request, e.g.,
\"
1
\"
"
,
"description"
:
"
IID of the merge request, for example `1`
"
,
"type"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
...
...
@@ -18481,7 +18481,7 @@
},
{
"name"
:
"iids"
,
"description"
:
"
The list of IIDs of issues, e.g., [1, 2]
"
,
"description"
:
"
Array of IIDs of merge requests, for example `[1, 2]`
"
,
"type"
:
{
"kind"
:
"LIST"
,
"name"
:
null
,
...
...
@@ -18512,7 +18512,7 @@
"args"
:
[
{
"name"
:
"iid"
,
"description"
:
"
The IID of the merge request, e.g.,
\"
1
\"
"
,
"description"
:
"
IID of the merge request, for example `1`
"
,
"type"
:
{
"kind"
:
"SCALAR"
,
"name"
:
"String"
,
...
...
@@ -18522,7 +18522,7 @@
},
{
"name"
:
"iids"
,
"description"
:
"
The list of IIDs of issues, e.g., [1, 2]
"
,
"description"
:
"
Array of IIDs of merge requests, for example `[1, 2]`
"
,
"type"
:
{
"kind"
:
"LIST"
,
"name"
:
null
,
...
...
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