Skip to content

GraphQL: Add membership filter to ProjectRunnersResolver

Tymm Schmitke requested to merge tschmitke/383510/add_enum_to_resolver into master

What does this MR do and why?

This MR aims to close #383510.

Screenshots or screen recordings

How to set up and validate locally

  1. Visit http://gdk.test:3000/-/graphql-explorer
  2. Use this query, and change the membership param.
query projectFinder {
  projects {
    edges {
      node {
        id
        runners(membership: PARENT_GROUPS) {
          count
        }
      }
    }
  }
}
  1. Notice the count of runners changes with different membership params.

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