Skip to content

Refactor label filtering logic #4982

@blkt

Description

@blkt

As per this comment, we currently allow filtering by label in two places (i.e. two endpoints), but the code to handle labels is duplicated.

In particular, the first implementation (here) handles input processing in the database layer, while the newer implementation has parameter splitting in the handler and inclusion/exclusion (i.e. label vs !label) in the service.

Refactor the older implementation into the second one, possibly reusing what is to be merged in the PR linked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions