Commit dcced034 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'remove_graphql_required_fields' into 'master'

Remove required arguments from updateIssue mutation

See merge request gitlab-org/gitlab!26281
parents a9bd44b2 7fbf33f3
......@@ -17,12 +17,12 @@ module Mutations
argument :due_date,
Types::TimeType,
required: true,
required: false,
description: copy_field_description(Types::IssueType, :due_date)
argument :confidential,
GraphQL::BOOLEAN_TYPE,
required: true,
required: false,
description: copy_field_description(Types::IssueType, :confidential)
def resolve(project_path:, iid:, **args)
......
......@@ -8011,7 +8011,7 @@ input UpdateIssueInput {
"""
Indicates the issue is confidential
"""
confidential: Boolean!
confidential: Boolean
"""
Description of the issue
......@@ -8021,7 +8021,7 @@ input UpdateIssueInput {
"""
Due date of the issue
"""
dueDate: Time!
dueDate: Time
"""
The desired health status
......
......@@ -21114,13 +21114,9 @@
"name": "dueDate",
"description": "Due date of the issue",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Time",
"ofType": null
}
"kind": "SCALAR",
"name": "Time",
"ofType": null
},
"defaultValue": null
},
......@@ -21128,13 +21124,9 @@
"name": "confidential",
"description": "Indicates the issue is confidential",
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null
},
......
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