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