Commit 01119a1f authored by Dmytro Zaporozhets (DZ)'s avatar Dmytro Zaporozhets (DZ)

Merge branch 'philipcunningham-dast-profile-fix-mutation-error' into 'master'

Make pipelineUrl nullable in DastProfileCreate

See merge request gitlab-org/gitlab!53442
parents 2e50e7cf 4a64d35c
......@@ -5737,7 +5737,7 @@ type DastProfileCreatePayload {
"""
The URL of the pipeline that was created. Requires `runAfterCreate` to be set to `true`.
"""
pipelineUrl: String!
pipelineUrl: String
}
"""
......
......@@ -15668,13 +15668,9 @@
],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "String",
"ofType": null
}
"kind": "SCALAR",
"name": "String",
"ofType": null
},
"isDeprecated": false,
"deprecationReason": null
......@@ -914,7 +914,7 @@ Autogenerated return type of DastProfileCreate.
| `clientMutationId` | String | A unique identifier for the client performing the mutation. |
| `dastProfile` | DastProfile | The created profile. |
| `errors` | String! => Array | Errors encountered during execution of the mutation. |
| `pipelineUrl` | String! | The URL of the pipeline that was created. Requires `runAfterCreate` to be set to `true`. |
| `pipelineUrl` | String | The URL of the pipeline that was created. Requires `runAfterCreate` to be set to `true`. |
### DastScannerProfile
......
......@@ -13,7 +13,7 @@ module Mutations
description: 'The created profile.'
field :pipeline_url, GraphQL::STRING_TYPE,
null: false,
null: true,
description: 'The URL of the pipeline that was created. Requires `runAfterCreate` to be set to `true`.'
argument :full_path, GraphQL::ID_TYPE,
......
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