Commit a96e719d authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'mw/milestone-state-graphql-docs' into 'master'

Add descriptions to MilestoneStateEnum

See merge request gitlab-org/gitlab!52494
parents 1e2d8119 74ff9332
...@@ -2,7 +2,10 @@ ...@@ -2,7 +2,10 @@
module Types module Types
class MilestoneStateEnum < BaseEnum class MilestoneStateEnum < BaseEnum
value 'active' graphql_name 'MilestoneStateEnum'
value 'closed' description 'Current state of milestone'
value 'active', 'Milestone is currently active'
value 'closed', 'Milestone is closed'
end end
end end
...@@ -15718,8 +15718,18 @@ Identifier of Milestone. ...@@ -15718,8 +15718,18 @@ Identifier of Milestone.
""" """
scalar MilestoneID scalar MilestoneID
"""
Current state of milestone
"""
enum MilestoneStateEnum { enum MilestoneStateEnum {
"""
Milestone is currently active
"""
active active
"""
Milestone is closed
"""
closed closed
} }
......
...@@ -43272,20 +43272,20 @@ ...@@ -43272,20 +43272,20 @@
{ {
"kind": "ENUM", "kind": "ENUM",
"name": "MilestoneStateEnum", "name": "MilestoneStateEnum",
"description": null, "description": "Current state of milestone",
"fields": null, "fields": null,
"inputFields": null, "inputFields": null,
"interfaces": null, "interfaces": null,
"enumValues": [ "enumValues": [
{ {
"name": "active", "name": "active",
"description": null, "description": "Milestone is currently active",
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
}, },
{ {
"name": "closed", "name": "closed",
"description": null, "description": "Milestone is closed",
"isDeprecated": false, "isDeprecated": false,
"deprecationReason": null "deprecationReason": null
} }
...@@ -4950,10 +4950,12 @@ State of a GitLab merge request. ...@@ -4950,10 +4950,12 @@ State of a GitLab merge request.
### MilestoneStateEnum ### MilestoneStateEnum
Current state of milestone.
| Value | Description | | Value | Description |
| ----- | ----------- | | ----- | ----------- |
| `active` | | | `active` | Milestone is currently active |
| `closed` | | | `closed` | Milestone is closed |
### MoveType ### MoveType
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment