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
fc863389
Commit
fc863389
authored
Apr 20, 2021
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Vale forbids the use of "params"
parent
1271dea1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
36 deletions
+39
-36
app/graphql/resolvers/concerns/issue_resolver_arguments.rb
app/graphql/resolvers/concerns/issue_resolver_arguments.rb
+35
-35
ee/app/graphql/types/boards/board_epic_input_type.rb
ee/app/graphql/types/boards/board_epic_input_type.rb
+4
-1
No files found.
app/graphql/resolvers/concerns/issue_resolver_arguments.rb
View file @
fc863389
...
...
@@ -7,57 +7,57 @@ module IssueResolverArguments
include
LooksAhead
argument
:iid
,
GraphQL
::
STRING_TYPE
,
required:
false
,
description:
'IID of the issue. For example, "1".'
required:
false
,
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].'
required:
false
,
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.'
required:
false
,
description:
'Labels applied to this issue.'
argument
:milestone_title
,
[
GraphQL
::
STRING_TYPE
,
null:
true
],
required:
false
,
description:
'Milestone applied to this issue.'
required:
false
,
description:
'Milestone applied to this issue.'
argument
:author_username
,
GraphQL
::
STRING_TYPE
,
required:
false
,
description:
'Username of the author of the issue.'
required:
false
,
description:
'Username of the author of the issue.'
argument
:assignee_username
,
GraphQL
::
STRING_TYPE
,
required:
false
,
description:
'Username of a user assigned to the issue.'
,
deprecated:
{
reason:
'Use `assigneeUsernames`'
,
milestone:
'13.11'
}
required:
false
,
description:
'Username of a user assigned to the issue.'
,
deprecated:
{
reason:
'Use `assigneeUsernames`'
,
milestone:
'13.11'
}
argument
:assignee_usernames
,
[
GraphQL
::
STRING_TYPE
],
required:
false
,
description:
'Usernames of users assigned to the issue.'
required:
false
,
description:
'Usernames of users assigned to the issue.'
argument
:assignee_id
,
GraphQL
::
STRING_TYPE
,
required:
false
,
description:
'ID of a user assigned to the issues, "none" and "any" values are supported.'
required:
false
,
description:
'ID of a user assigned to the issues, "none" and "any" values are supported.'
argument
:created_before
,
Types
::
TimeType
,
required:
false
,
description:
'Issues created before this date.'
required:
false
,
description:
'Issues created before this date.'
argument
:created_after
,
Types
::
TimeType
,
required:
false
,
description:
'Issues created after this date.'
required:
false
,
description:
'Issues created after this date.'
argument
:updated_before
,
Types
::
TimeType
,
required:
false
,
description:
'Issues updated before this date.'
required:
false
,
description:
'Issues updated before this date.'
argument
:updated_after
,
Types
::
TimeType
,
required:
false
,
description:
'Issues updated after this date.'
required:
false
,
description:
'Issues updated after this date.'
argument
:closed_before
,
Types
::
TimeType
,
required:
false
,
description:
'Issues closed before this date.'
required:
false
,
description:
'Issues closed before this date.'
argument
:closed_after
,
Types
::
TimeType
,
required:
false
,
description:
'Issues closed after this date.'
required:
false
,
description:
'Issues closed after this date.'
argument
:search
,
GraphQL
::
STRING_TYPE
,
required:
false
,
description:
'Search query for issue title or description.'
required:
false
,
description:
'Search query for issue title or description.'
argument
:types
,
[
Types
::
IssueTypeEnum
],
as: :issue_types
,
description:
'Filter issues by the given issue types.'
,
required:
false
as: :issue_types
,
description:
'Filter issues by the given issue types.'
,
required:
false
argument
:not
,
Types
::
Issues
::
NegatedIssueFilterInputType
,
description:
'
List of negated param
s.'
,
description:
'
Negated argument
s.'
,
prepare:
->
(
negated_args
,
ctx
)
{
negated_args
.
to_h
},
required:
false
end
...
...
ee/app/graphql/types/boards/board_epic_input_type.rb
View file @
fc863389
...
...
@@ -10,7 +10,10 @@ module Types
argument
:not
,
NegatedEpicBoardIssueInputType
,
required:
false
,
description:
'List of epic negated params. Warning: this argument is experimental and a subject to change in the future.'
description:
<<~
DESC
Negated epic arguments.
Warning: this argument is experimental and a subject to change in the future.
DESC
argument
:search
,
GraphQL
::
STRING_TYPE
,
required:
false
,
...
...
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