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