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
505a8783
Commit
505a8783
authored
Oct 14, 2020
by
Laura Montemayor
Committed by
Rémy Coutable
Oct 14, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updates fields in detailedStatus to be nullable
* Updates schema and docs
parent
803d87fe
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
70 deletions
+47
-70
app/graphql/types/ci/detailed_status_type.rb
app/graphql/types/ci/detailed_status_type.rb
+7
-7
changelogs/unreleased/lm-update-status-null-fields.yml
changelogs/unreleased/lm-update-status-null-fields.yml
+5
-0
doc/api/graphql/reference/gitlab_schema.graphql
doc/api/graphql/reference/gitlab_schema.graphql
+7
-7
doc/api/graphql/reference/gitlab_schema.json
doc/api/graphql/reference/gitlab_schema.json
+21
-49
doc/api/graphql/reference/index.md
doc/api/graphql/reference/index.md
+7
-7
No files found.
app/graphql/types/ci/detailed_status_type.rb
View file @
505a8783
...
...
@@ -6,22 +6,22 @@ module Types
class
DetailedStatusType
<
BaseObject
graphql_name
'DetailedStatus'
field
:group
,
GraphQL
::
STRING_TYPE
,
null:
fals
e
,
field
:group
,
GraphQL
::
STRING_TYPE
,
null:
tru
e
,
description:
'Group of the status'
field
:icon
,
GraphQL
::
STRING_TYPE
,
null:
fals
e
,
field
:icon
,
GraphQL
::
STRING_TYPE
,
null:
tru
e
,
description:
'Icon of the status'
field
:favicon
,
GraphQL
::
STRING_TYPE
,
null:
fals
e
,
field
:favicon
,
GraphQL
::
STRING_TYPE
,
null:
tru
e
,
description:
'Favicon of the status'
field
:details_path
,
GraphQL
::
STRING_TYPE
,
null:
true
,
description:
'Path of the details for the status'
field
:has_details
,
GraphQL
::
BOOLEAN_TYPE
,
null:
fals
e
,
field
:has_details
,
GraphQL
::
BOOLEAN_TYPE
,
null:
tru
e
,
description:
'Indicates if the status has further details'
,
method: :has_details?
field
:label
,
GraphQL
::
STRING_TYPE
,
null:
fals
e
,
field
:label
,
GraphQL
::
STRING_TYPE
,
null:
tru
e
,
description:
'Label of the status'
field
:text
,
GraphQL
::
STRING_TYPE
,
null:
fals
e
,
field
:text
,
GraphQL
::
STRING_TYPE
,
null:
tru
e
,
description:
'Text of the status'
field
:tooltip
,
GraphQL
::
STRING_TYPE
,
null:
fals
e
,
field
:tooltip
,
GraphQL
::
STRING_TYPE
,
null:
tru
e
,
description:
'Tooltip associated with the status'
,
method: :status_tooltip
field
:action
,
Types
::
Ci
::
StatusActionType
,
null:
true
,
...
...
changelogs/unreleased/lm-update-status-null-fields.yml
0 → 100644
View file @
505a8783
---
title
:
'
GraphQL:
Changes
fields
in
detailedStatus
to
be
nullable'
merge_request
:
45072
author
:
type
:
changed
doc/api/graphql/reference/gitlab_schema.graphql
View file @
505a8783
...
...
@@ -5317,37 +5317,37 @@ type DetailedStatus {
"""
Favicon
of
the
status
"""
favicon
:
String
!
favicon
:
String
"""
Group
of
the
status
"""
group
:
String
!
group
:
String
"""
Indicates
if
the
status
has
further
details
"""
hasDetails
:
Boolean
!
hasDetails
:
Boolean
"""
Icon
of
the
status
"""
icon
:
String
!
icon
:
String
"""
Label
of
the
status
"""
label
:
String
!
label
:
String
"""
Text
of
the
status
"""
text
:
String
!
text
:
String
"""
Tooltip
associated
with
the
status
"""
tooltip
:
String
!
tooltip
:
String
}
input
DiffImagePositionInput
{
...
...
doc/api/graphql/reference/gitlab_schema.json
View file @
505a8783
...
...
@@ -14540,13 +14540,9 @@
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
...
...
@@ -14558,13 +14554,9 @@
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
...
...
@@ -14576,13 +14568,9 @@
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
...
...
@@ -14594,13 +14582,9 @@
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
...
...
@@ -14612,13 +14596,9 @@
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
...
...
@@ -14630,13 +14610,9 @@
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
...
...
@@ -14648,13 +14624,9 @@
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
doc/api/graphql/reference/index.md
View file @
505a8783
...
...
@@ -855,13 +855,13 @@ Autogenerated return type of DestroySnippet.
| ----- | ---- | ----------- |
|
`action`
| StatusAction | Action information for the status. This includes method, button title, icon, path, and title |
|
`detailsPath`
| String | Path of the details for the status |
|
`favicon`
| String
!
| Favicon of the status |
|
`group`
| String
!
| Group of the status |
|
`hasDetails`
| Boolean
!
| Indicates if the status has further details |
|
`icon`
| String
!
| Icon of the status |
|
`label`
| String
!
| Label of the status |
|
`text`
| String
!
| Text of the status |
|
`tooltip`
| String
!
| Tooltip associated with the status |
|
`favicon`
| String | Favicon of the status |
|
`group`
| String | Group of the status |
|
`hasDetails`
| Boolean | Indicates if the status has further details |
|
`icon`
| String | Icon of the status |
|
`label`
| String | Label of the status |
|
`text`
| String | Text of the status |
|
`tooltip`
| String | Tooltip associated with the status |
### DiffPosition
...
...
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