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
efb2e735
Commit
efb2e735
authored
Apr 20, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve iids example and error message
Reviewer suggestions.
parent
fc863389
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/graphql/resolvers/concerns/issue_resolver_arguments.rb
app/graphql/resolvers/concerns/issue_resolver_arguments.rb
+1
-1
lib/gitlab/graphql/docs/helper.rb
lib/gitlab/graphql/docs/helper.rb
+1
-1
No files found.
app/graphql/resolvers/concerns/issue_resolver_arguments.rb
View file @
efb2e735
...
...
@@ -11,7 +11,7 @@ module IssueResolverArguments
description:
'IID of the issue. For example, "1".'
argument
:iids
,
[
GraphQL
::
STRING_TYPE
],
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
,
null:
true
],
required:
false
,
description:
'Labels applied to this issue.'
...
...
lib/gitlab/graphql/docs/helper.rb
View file @
efb2e735
...
...
@@ -150,7 +150,7 @@ module Gitlab
input
=
inputs
.
first
name
=
t
[
:name
]
raise
ViolatedAssumption
,
"Expected
one input field to
#{
name
}
"
unless
inputs
.
one?
raise
ViolatedAssumption
,
"Expected
exactly 1 input field named
#{
name
}
. Found
#{
inputs
.
count
}
instead.
"
unless
inputs
.
one?
raise
ViolatedAssumption
,
"Expected the input of
#{
name
}
to be named 'input'"
if
input
[
:name
]
!=
'input'
input_type_name
=
input
[
:type
][
:name
]
...
...
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