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
05f87da3
Commit
05f87da3
authored
Jan 31, 2020
by
Luke Duncalfe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some GraphQL deprecation_reason strings
parent
23216ee8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
15 deletions
+15
-15
app/graphql/types/commit_type.rb
app/graphql/types/commit_type.rb
+1
-1
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+5
-5
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+5
-5
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+2
-2
ee/app/graphql/ee/types/issue_type.rb
ee/app/graphql/ee/types/issue_type.rb
+2
-2
No files found.
app/graphql/types/commit_type.rb
View file @
05f87da3
...
@@ -40,7 +40,7 @@ module Types
...
@@ -40,7 +40,7 @@ module Types
type:
Types
::
Ci
::
PipelineType
,
type:
Types
::
Ci
::
PipelineType
,
null:
true
,
null:
true
,
description:
"Latest pipeline of the commit"
,
description:
"Latest pipeline of the commit"
,
deprecation_reason:
'
u
se pipelines'
,
deprecation_reason:
'
U
se pipelines'
,
resolver:
Resolvers
::
CommitPipelinesResolver
.
last
resolver:
Resolvers
::
CommitPipelinesResolver
.
last
end
end
end
end
doc/api/graphql/reference/gitlab_schema.graphql
View file @
05f87da3
...
@@ -203,7 +203,7 @@ type Commit {
...
@@ -203,7 +203,7 @@ type Commit {
Filter
pipelines
by
their
status
Filter
pipelines
by
their
status
"""
"""
status
:
PipelineStatusEnum
status
:
PipelineStatusEnum
):
Pipeline
@
deprecated
(
reason
:
"
u
se
pipelines
"
)
):
Pipeline
@
deprecated
(
reason
:
"
U
se
pipelines
"
)
"""
"""
Raw
commit
message
Raw
commit
message
...
@@ -2172,9 +2172,9 @@ type EpicIssue implements Noteable {
...
@@ -2172,9 +2172,9 @@ type EpicIssue implements Noteable {
designCollection
:
DesignCollection
designCollection
:
DesignCollection
"""
"""
Deprecated
.
Use
`
design
_c
ollection
`
Deprecated
.
Use
`
design
C
ollection
`
"""
"""
designs
:
DesignCollection
@
deprecated
(
reason
:
"
use
design_c
ollection
"
)
designs
:
DesignCollection
@
deprecated
(
reason
:
"
Use
designC
ollection
"
)
"""
"""
Indicates
discussion
is
locked
on
the
issue
Indicates
discussion
is
locked
on
the
issue
...
@@ -3062,9 +3062,9 @@ type Issue implements Noteable {
...
@@ -3062,9 +3062,9 @@ type Issue implements Noteable {
designCollection
:
DesignCollection
designCollection
:
DesignCollection
"""
"""
Deprecated
.
Use
`
design
_c
ollection
`
Deprecated
.
Use
`
design
C
ollection
`
"""
"""
designs
:
DesignCollection
@
deprecated
(
reason
:
"
use
design_c
ollection
"
)
designs
:
DesignCollection
@
deprecated
(
reason
:
"
Use
designC
ollection
"
)
"""
"""
Indicates
discussion
is
locked
on
the
issue
Indicates
discussion
is
locked
on
the
issue
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
05f87da3
...
@@ -8712,7 +8712,7 @@
...
@@ -8712,7 +8712,7 @@
},
},
{
{
"name"
:
"designs"
,
"name"
:
"designs"
,
"description"
:
"Deprecated. Use `design
_c
ollection`"
,
"description"
:
"Deprecated. Use `design
C
ollection`"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -8722,7 +8722,7 @@
...
@@ -8722,7 +8722,7 @@
"ofType"
:
null
"ofType"
:
null
},
},
"isDeprecated"
:
true
,
"isDeprecated"
:
true
,
"deprecationReason"
:
"
use design_c
ollection"
"deprecationReason"
:
"
Use designC
ollection"
},
},
{
{
"name"
:
"discussionLocked"
,
"name"
:
"discussionLocked"
,
...
@@ -10255,7 +10255,7 @@
...
@@ -10255,7 +10255,7 @@
},
},
{
{
"name"
:
"designs"
,
"name"
:
"designs"
,
"description"
:
"Deprecated. Use `design
_c
ollection`"
,
"description"
:
"Deprecated. Use `design
C
ollection`"
,
"args"
:
[
"args"
:
[
],
],
...
@@ -10265,7 +10265,7 @@
...
@@ -10265,7 +10265,7 @@
"ofType"
:
null
"ofType"
:
null
},
},
"isDeprecated"
:
true
,
"isDeprecated"
:
true
,
"deprecationReason"
:
"
use design_c
ollection"
"deprecationReason"
:
"
Use designC
ollection"
},
},
{
{
"name"
:
"discussionLocked"
,
"name"
:
"discussionLocked"
,
...
@@ -13092,7 +13092,7 @@
...
@@ -13092,7 +13092,7 @@
"ofType"
:
null
"ofType"
:
null
},
},
"isDeprecated"
:
true
,
"isDeprecated"
:
true
,
"deprecationReason"
:
"
u
se pipelines"
"deprecationReason"
:
"
U
se pipelines"
},
},
{
{
"name"
:
"message"
,
"name"
:
"message"
,
...
...
doc/api/graphql/reference/index.md
View file @
05f87da3
...
@@ -334,7 +334,7 @@ Relationship between an epic and an issue
...
@@ -334,7 +334,7 @@ Relationship between an epic and an issue
|
`description`
| String | Description of the issue |
|
`description`
| String | Description of the issue |
|
`descriptionHtml`
| String | The GitLab Flavored Markdown rendering of
`description`
|
|
`descriptionHtml`
| String | The GitLab Flavored Markdown rendering of
`description`
|
|
`designCollection`
| DesignCollection | Collection of design images associated with this issue |
|
`designCollection`
| DesignCollection | Collection of design images associated with this issue |
|
`designs`
| DesignCollection | Deprecated. Use
`design
_c
ollection`
|
|
`designs`
| DesignCollection | Deprecated. Use
`design
C
ollection`
|
|
`discussionLocked`
| Boolean! | Indicates discussion is locked on the issue |
|
`discussionLocked`
| Boolean! | Indicates discussion is locked on the issue |
|
`downvotes`
| Int! | Number of downvotes the issue has received |
|
`downvotes`
| Int! | Number of downvotes the issue has received |
|
`dueDate`
| Time | Due date of the issue |
|
`dueDate`
| Time | Due date of the issue |
...
@@ -454,7 +454,7 @@ Autogenerated return type of EpicTreeReorder
...
@@ -454,7 +454,7 @@ Autogenerated return type of EpicTreeReorder
|
`description`
| String | Description of the issue |
|
`description`
| String | Description of the issue |
|
`descriptionHtml`
| String | The GitLab Flavored Markdown rendering of
`description`
|
|
`descriptionHtml`
| String | The GitLab Flavored Markdown rendering of
`description`
|
|
`designCollection`
| DesignCollection | Collection of design images associated with this issue |
|
`designCollection`
| DesignCollection | Collection of design images associated with this issue |
|
`designs`
| DesignCollection | Deprecated. Use
`design
_c
ollection`
|
|
`designs`
| DesignCollection | Deprecated. Use
`design
C
ollection`
|
|
`discussionLocked`
| Boolean! | Indicates discussion is locked on the issue |
|
`discussionLocked`
| Boolean! | Indicates discussion is locked on the issue |
|
`downvotes`
| Int! | Number of downvotes the issue has received |
|
`downvotes`
| Int! | Number of downvotes the issue has received |
|
`dueDate`
| Time | Due date of the issue |
|
`dueDate`
| Time | Due date of the issue |
...
...
ee/app/graphql/ee/types/issue_type.rb
View file @
05f87da3
...
@@ -14,9 +14,9 @@ module EE
...
@@ -14,9 +14,9 @@ module EE
resolve:
->
(
obj
,
_args
,
_ctx
)
{
obj
.
supports_weight?
?
obj
.
weight
:
nil
}
resolve:
->
(
obj
,
_args
,
_ctx
)
{
obj
.
supports_weight?
?
obj
.
weight
:
nil
}
field
:designs
,
::
Types
::
DesignManagement
::
DesignCollectionType
,
null:
true
,
field
:designs
,
::
Types
::
DesignManagement
::
DesignCollectionType
,
null:
true
,
description:
"Deprecated. Use `design
_c
ollection`"
,
description:
"Deprecated. Use `design
C
ollection`"
,
method: :design_collection
,
method: :design_collection
,
deprecation_reason:
'
use design_c
ollection'
deprecation_reason:
'
Use designC
ollection'
field
:design_collection
,
::
Types
::
DesignManagement
::
DesignCollectionType
,
null:
true
,
field
:design_collection
,
::
Types
::
DesignManagement
::
DesignCollectionType
,
null:
true
,
description:
'Collection of design images associated with this issue'
description:
'Collection of design images associated with this issue'
...
...
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