Feature proposal: Extend GraphQL `search()` functions to support regular expression wildcards and namespaces

Currently, the GitLab GraphQL Query.projects.search() function allows to search for project name, path, or description. To me, that doesn't seem sufficient.

Proposed Solution

I propose to add advanced query filters to any GitLab GraphQL search() function, similar to the ones Dgraph is providing in their product, e.g.:

  • eq (any scalar)
  • le, ge, lt, gt (any scalar)
  • regexp (string)
  • year, month, day, hour (date)
  • and, or, not

Every property (i.e. "search namespace") should be searchable.

Example

{
  Query.projects.search( { fullPath -regexp "^my-group-root" -and -not archived } )
}

GraphQL

GraphQL type improvement typefeature

Edited by A. D.