Commit 7fbf33f3 authored by Felipe Artur's avatar Felipe Artur

Remove required arguments from updateIssue mutation

Remove required statement from due_date and confidential arguments
parent a0ee5467
...@@ -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)
......
...@@ -7925,7 +7925,7 @@ input UpdateIssueInput { ...@@ -7925,7 +7925,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
...@@ -7935,7 +7935,7 @@ input UpdateIssueInput { ...@@ -7935,7 +7935,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
......
...@@ -20850,13 +20850,9 @@ ...@@ -20850,13 +20850,9 @@
"name": "dueDate", "name": "dueDate",
"description": "Due date of the issue", "description": "Due date of the issue",
"type": { "type": {
"kind": "NON_NULL", "kind": "SCALAR",
"name": null, "name": "Time",
"ofType": { "ofType": null
"kind": "SCALAR",
"name": "Time",
"ofType": null
}
}, },
"defaultValue": null "defaultValue": null
}, },
...@@ -20864,13 +20860,9 @@ ...@@ -20864,13 +20860,9 @@
"name": "confidential", "name": "confidential",
"description": "Indicates the issue is confidential", "description": "Indicates the issue is confidential",
"type": { "type": {
"kind": "NON_NULL", "kind": "SCALAR",
"name": null, "name": "Boolean",
"ofType": { "ofType": null
"kind": "SCALAR",
"name": "Boolean",
"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