Add blocking merge request depenencies in GraphQL
requested to merge 390947-minimum-graphql-type-to-display-merge-request-dependencies-on-mr-page into master
What does this MR do and why?
This MR adds support for blocking merge request dependencies in GraphQL. This will allow users to see which merge requests are blocking a given merge request from being merged.
How to set up and validate locally
- Add some blocking MRs to a project in the GDK using the administrator account.
- A good mix of private and public MRs is recommended.
- With a different user that can't see the private projects, go to your GraphiQL console: https://gdk.test:3443/-/graphql-explorer
- Make a query such as:
{
project(fullPath: "flightjs/Flight [your project name here]") {
mergeRequest(iid: "7 [the mr's iid here]") {
blockingMergeRequests {
hiddenCount
totalCount
visibleMergeRequests {
iid
title
}
}
}
}
}
- Confirm numbers and MR list are as expected!
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.
Related MRs
- #390947 - Add support for blocking merge request dependencies
This description was generated for revision 6efa2afd using AI
Edited by Gary Holtz