Skip to content

Adds mergeRequestInteraction to GraphQL user type

What does this MR do and why?

Adds mergeRequestInteraction GraphQL type to the MemberInterface GraphQL object. This type accepts a merge request IID which will be used to find the merge request.

query {
  project(fullPath:"gitlab-org/gitlab-test") {
    projectMembers {
      nodes {
         mergeRequestInteraction(id:"gid://gitlab/MergeRequest/96") {
          canMerge
        }
      }
    }
  }
}

Screenshots or screen recordings

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Closes #329783 (closed)

Edited by Phil Hughes

Merge request reports