GraphQL: Add membership filter to ProjectRunnersResolver
What does this MR do and why?
This MR aims to close #383510.
Screenshots or screen recordings
How to set up and validate locally
- Visit http://gdk.test:3000/-/graphql-explorer
- Use this query, and change the
membership
param.
query projectFinder {
projects {
edges {
node {
id
runners(membership: PARENT_GROUPS) {
count
}
}
}
}
}
- 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.
-
I have evaluated the MR acceptance checklist for this MR.