Skip to content

Added option to filter projects by full paths in GraphQL

What does this MR do and why?

Added option to filter projects by full paths in GraphQL 🙂

Related to #427579 (closed)

Screenshots or screen recordings

N.A.

How to set up and validate locally

  1. Open GraphQL explorer (for example by going to http://127.0.0.1:3000/-/graphql-explorer)
  2. Run a query similar to the next one, changing the full paths array to what you want to search for:
{
  projects(fullPaths: ["gitlab-org/gitlab-shell", "Commit451/lab-coat"]) {
    count
    nodes {
      fullPath
      name
    }
  }
}

MR acceptance checklist

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

Edited by Marco Zille

Merge request reports