Add namespace_path
support for Projects Graphql API
What does this MR do and why?
Add namespace_path
support for Projects Graphql API. This will filter the results to be projects within that namespace (group or user).
Query Plans
- Cold: https://console.postgres.ai/gitlab/gitlab-production-main/sessions/40731/commands/125151
- Warm: https://console.postgres.ai/gitlab/gitlab-production-main/sessions/40731/commands/125152
References
- Closes #541499 (closed)
- Parameter is needed for migrating the existing admin projects dashboard into Vue
Screenshots or screen recordings
How to set up and validate locally
- Go to
/-/graphql-explorer
in your GDK instance. - Run the following query:
{
projects(namespacePath: "<namespace-fullpath>") {
nodes {
id
fullPath
visibility
}
count
}
}
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Shane Maglangit