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
3c9deebc
Commit
3c9deebc
authored
Oct 17, 2020
by
Jan Provaznik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use stricter epic ID type definition
parent
5d9ac039
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
.rubocop_todo.yml
.rubocop_todo.yml
+1
-2
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+2
-2
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+2
-2
ee/app/graphql/ee/types/boards/board_issue_input_base_type.rb
...pp/graphql/ee/types/boards/board_issue_input_base_type.rb
+1
-1
ee/changelogs/unreleased/fix_epic_id_type.yml
ee/changelogs/unreleased/fix_epic_id_type.yml
+5
-0
No files found.
.rubocop_todo.yml
View file @
3c9deebc
...
...
@@ -1269,11 +1269,10 @@ RSpec/TimecopTravel:
-
'
spec/workers/concerns/reenqueuer_spec.rb'
-
'
spec/lib/gitlab/analytics/cycle_analytics/median_spec.rb'
# Offense count:
43
# Offense count:
21
Graphql/IDType
:
Exclude
:
-
'
ee/app/graphql/ee/mutations/issues/update.rb'
-
'
ee/app/graphql/ee/types/boards/board_issue_input_base_type.rb'
-
'
ee/app/graphql/mutations/iterations/update.rb'
-
'
ee/app/graphql/resolvers/iterations_resolver.rb'
-
'
app/graphql/mutations/boards/issues/issue_move_list.rb'
...
...
doc/api/graphql/reference/gitlab_schema.graphql
View file @
3c9deebc
...
...
@@ -1695,7 +1695,7 @@ input BoardIssueInput {
"""
Filter
by
epic
ID
.
Incompatible
with
epicWildcardId
"""
epicId
:
ID
epicId
:
Epic
ID
"""
Filter
by
epic
ID
wildcard
.
Incompatible
with
epicId
...
...
@@ -12558,7 +12558,7 @@ input NegatedBoardIssueInput {
"""
Filter
by
epic
ID
.
Incompatible
with
epicWildcardId
"""
epicId
:
ID
epicId
:
Epic
ID
"""
Filter
by
label
name
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
3c9deebc
...
...
@@ -4518,7 +4518,7 @@
"description": "Filter by epic ID. Incompatible with epicWildcardId",
"type": {
"kind": "SCALAR",
"name": "ID",
"name": "
Epic
ID",
"ofType": null
},
"defaultValue": null
...
...
@@ -36905,7 +36905,7 @@
"description": "Filter by epic ID. Incompatible with epicWildcardId",
"type": {
"kind": "SCALAR",
"name": "ID",
"name": "
Epic
ID",
"ofType": null
},
"defaultValue": null
ee/app/graphql/ee/types/boards/board_issue_input_base_type.rb
View file @
3c9deebc
...
...
@@ -7,7 +7,7 @@ module EE
extend
ActiveSupport
::
Concern
prepended
do
argument
:epic_id
,
GraphQL
::
ID_TYPE
,
argument
:epic_id
,
::
Types
::
GlobalIDType
[
::
Epic
]
,
required:
false
,
description:
'Filter by epic ID. Incompatible with epicWildcardId'
...
...
ee/changelogs/unreleased/fix_epic_id_type.yml
0 → 100644
View file @
3c9deebc
---
title
:
Update epic ID type in board issue mutations to be more specific
merge_request
:
45460
author
:
type
:
changed
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