Commit 4a64d35c authored by Philip Cunningham's avatar Philip Cunningham

Make pipelineUrl nullable in DastProfileCreate

This field was mistakenly marked as being non-null.
parent 5caf8fc8
......@@ -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