Skip to content

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

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

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 🤖 GitLab Bot 🤖