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
9afc8328
Commit
9afc8328
authored
Dec 04, 2021
by
Kev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix GraphQL/OrderedArguments offense (Part 1/6)
Changelog: other
parent
757dd41a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
.rubocop_todo/graphql/ordered_arguments.yml
.rubocop_todo/graphql/ordered_arguments.yml
+3
-2
app/graphql/mutations/jira_import/start.rb
app/graphql/mutations/jira_import/start.rb
+3
-3
app/graphql/mutations/merge_requests/accept.rb
app/graphql/mutations/merge_requests/accept.rb
+3
-3
No files found.
.rubocop_todo/graphql/ordered_arguments.yml
View file @
9afc8328
---
GraphQL/OrderedArguments
:
Exclude
:
-
app/graphql/mutations/jira_import/start.rb
-
app/graphql/mutations/merge_requests/accept.rb
-
app/graphql/resolvers/base_issues_resolver.rb
-
app/graphql/resolvers/design_management/designs_resolver.rb
-
app/graphql/resolvers/design_management/version/design_at_version_resolver.rb
-
app/graphql/resolvers/design_management/version/designs_at_version_resolver.rb
-
app/graphql/resolvers/design_management/version_in_collection_resolver.rb
-
app/graphql/resolvers/group_milestones_resolver.rb
...
...
app/graphql/mutations/jira_import/start.rb
View file @
9afc8328
...
...
@@ -14,15 +14,15 @@ module Mutations
null:
true
,
description:
'Jira import data after mutation.'
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
description:
'Project to import the Jira project into.'
argument
:jira_project_key
,
GraphQL
::
Types
::
String
,
required:
true
,
description:
'Project key of the importer Jira project.'
argument
:jira_project_name
,
GraphQL
::
Types
::
String
,
required:
false
,
description:
'Project name of the importer Jira project.'
argument
:project_path
,
GraphQL
::
Types
::
ID
,
required:
true
,
description:
'Project to import the Jira project into.'
argument
:users_mapping
,
[
Types
::
JiraUsersMappingInputType
],
required:
false
,
...
...
app/graphql/mutations/merge_requests/accept.rb
View file @
9afc8328
...
...
@@ -26,12 +26,12 @@ module Mutations
argument
:commit_message
,
::
GraphQL
::
Types
::
String
,
required:
false
,
description:
'Custom merge commit message.'
argument
:squash_commit_message
,
::
GraphQL
::
Types
::
String
,
required:
false
,
description:
'Custom squash commit message (if squash is true).'
argument
:sha
,
::
GraphQL
::
Types
::
String
,
required:
true
,
description:
'HEAD SHA at the time when this merge was requested.'
argument
:squash_commit_message
,
::
GraphQL
::
Types
::
String
,
required:
false
,
description:
'Custom squash commit message (if squash is true).'
argument
:should_remove_source_branch
,
::
GraphQL
::
Types
::
Boolean
,
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