Add PipelineMessageType to GraphQL
What does this MR do and why?
This is a follow-up that is part of this epic: &6859 and this issue: #346578 (closed)
Screenshots or screen recordings
{
project(fullPath: "root/downstream-pipeline-project") {
pipeline(iid: "37") {
warningMessages {
content
id
}
}
}
}
{
"data": {
"project": {
"pipeline": {
"warningMessages": [
{
"content": "root `types` is deprecated in 9.0 and will be removed in 15.0 - read more: https://docs.gitlab.com/ee/ci/yaml/#deprecated-keywords",
"id": "gid://gitlab/Ci::PipelineMessage/7"
},
{
"content": "jobs:joba `type` is deprecated in 9.0 and will be removed in 15.0 - read more: https://docs.gitlab.com/ee/ci/yaml/#deprecated-keywords",
"id": "gid://gitlab/Ci::PipelineMessage/8"
}
]
}
}
}
}
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Laura Montemayor