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
ee93545c
Commit
ee93545c
authored
Dec 01, 2020
by
Shreyas Agarwal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the delete code for GlobalID
parent
355cc7e6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
4 deletions
+3
-4
.rubocop_manual_todo.yml
.rubocop_manual_todo.yml
+0
-1
app/graphql/mutations/metrics/dashboard/annotations/delete.rb
...graphql/mutations/metrics/dashboard/annotations/delete.rb
+1
-1
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+1
-1
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+1
-1
No files found.
.rubocop_manual_todo.yml
View file @
ee93545c
...
...
@@ -21,7 +21,6 @@ Graphql/IDType:
Exclude
:
-
'
ee/app/graphql/ee/mutations/issues/update.rb'
-
'
app/graphql/mutations/boards/issues/issue_move_list.rb'
-
'
app/graphql/mutations/metrics/dashboard/annotations/delete.rb'
-
'
app/graphql/resolvers/design_management/design_at_version_resolver.rb'
-
'
app/graphql/resolvers/design_management/design_resolver.rb'
-
'
app/graphql/resolvers/design_management/designs_resolver.rb'
...
...
app/graphql/mutations/metrics/dashboard/annotations/delete.rb
View file @
ee93545c
...
...
@@ -11,7 +11,7 @@ module Mutations
argument
:id
,
::
Types
::
GlobalIDType
[
::
Metrics
::
Dashboard
::
Annotation
],
required:
true
,
description:
'
The g
lobal ID of the annotation to delete'
description:
'
G
lobal ID of the annotation to delete'
def
resolve
(
id
:)
annotation
=
authorized_find!
(
id:
id
)
...
...
doc/api/graphql/reference/gitlab_schema.graphql
View file @
ee93545c
...
...
@@ -5395,7 +5395,7 @@ input DeleteAnnotationInput {
clientMutationId
:
String
"""
The
g
lobal
ID
of
the
annotation
to
delete
G
lobal
ID
of
the
annotation
to
delete
"""
id
:
MetricsDashboardAnnotationID
!
}
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
ee93545c
...
...
@@ -14754,7 +14754,7 @@
"inputFields": [
{
"name": "id",
"description": "
The g
lobal ID of the annotation to delete",
"description": "
G
lobal ID of the annotation to delete",
"type": {
"kind": "NON_NULL",
"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