You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: