Skip to content

GraphQL API: Add a way to negate conditions in the runner search

Summary

In !61174 (merged) we introduced a way for users to find runners using the GraphQL API, we should extend this API with NOT operators.

Description

The HAML implementation of the runners allows users to use NOT operators (!=) when filtering their runners.

NOT operators for all filters
image

This should be ported to the new GraphQL runner filters.

Possible solutions

https://gitlab.com/-/graphql-explorer

Our GraphQL uses the "negated" inputs when filtering issues, epics, etc...:

image

Edited by Miguel Rincon