Context
https://docs.getport.io/search-and-query/#relation-structure-and-operators describes how to search for Entities that have a relation to other Entities. This can be used with the search API (https://api.getport.io/v1/entities/search) and with the filters when adding a visualization to a dashboard for example.
This type of search only has one operator:
relatedTo
.
Objective
Add an opposite operator, i.e.
relatesNotTo
.
Rationale
Sometimes the business context dictates that certain relationships SHOULD be present in the data. By adding this operator it becomes possible to find inconsistencies in the data by searching for Entities that do NOT have a relationship (where one is expected).