Skip to content

Add group_id argument to merge requests resolver

What does this MR do and why?

Add group_id argument to merge requests resolver

Changelog: added

Screenshots or screen recordings

image

How to set up and validate locally

  1. Create some merge requests in a few different projects in the same group
  2. Create some merge requests outside of that group
  3. Run the following GraphQL query (updating the groupId):
    query {
      currentUser{
        allMergeRequests: authoredMergeRequests {
          count
        }
        myGroupMergeRequests: authoredMergeRequests(groupId: "gid://gitlab/Group/31") {
          count
        }
      }
    }

MR acceptance checklist

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

Merge request reports

Loading