Add commit field to pipeline GraphQL type
What does this MR do and why?
This MR;
- adds the
commit(Types::CommitType) GraphQL field toTypes::Ci::PipelineType - adds the
full_titleGraphQL field toTypes::CommitType
Related to #341093 (closed), (original: #327196 (closed))
Screenshots or screen recordings
How to set up and validate locally
Open http://gdk.test:3000/-/graphql-explorer and use;
query getPipeline($fullPath: ID!, $sha: String!) {
project(fullPath: $fullPath) {
pipeline(sha: $sha) {
commit {
fullTitle
}
}
}
}
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 Furkan Ayhan
