tdabasinskas / go-backstage

Go client library for accessing the Backstage REST API
https://pkg.go.dev/github.com/tdabasinskas/go-backstage/backstage
Apache License 2.0
25 stars 4 forks source link

Refactor filtering implementation #7

Closed tdabasinskas closed 1 year ago

tdabasinskas commented 1 year ago

Refactor filtering implementation to resolve #6.

We couldn't continue using map, as it does not allow filtering on multiple values of the same field (i.e., use OR) as per documentation.

codecov[bot] commented 1 year ago

Codecov Report

Merging #7 (aaa199b) into main (10fc17b) will decrease coverage by 0.18%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main       #7      +/-   ##
==========================================
- Coverage   96.80%   96.62%   -0.18%     
==========================================
  Files          11       11              
  Lines         282      267      -15     
==========================================
- Hits          273      258      -15     
  Misses          6        6              
  Partials        3        3              
Impacted Files Coverage Δ
backstage/entity.go 95.58% <100.00%> (-0.80%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.