hyperledger-archives / aries-framework-go-ext

https://wiki.hyperledger.org/display/aries
Apache License 2.0
14 stars 22 forks source link

chore: Return an interface from QueryCustom instead of struct #260

Closed bstasyszyn closed 2 years ago

bstasyszyn commented 2 years ago

Returning an interface from QueryCustom so that it's easier for clients to mock out the iterator in unit tests.

Signed-off-by: Bob Stasyszyn Bob.Stasyszyn@securekey.com

codecov[bot] commented 2 years ago

Codecov Report

Merging #260 (7b2521a) into main (ac003b2) will not change coverage. The diff coverage is 100.00%.

:exclamation: Current head 7b2521a differs from pull request most recent head d96c2c1. Consider uploading reports for the commit d96c2c1 to get more accurate results

@@           Coverage Diff           @@
##             main     #260   +/-   ##
=======================================
  Coverage   86.60%   86.60%           
=======================================
  Files           1        1           
  Lines         799      799           
=======================================
  Hits          692      692           
  Misses         62       62           
  Partials       45       45           
Impacted Files Coverage Δ
component/storage/mongodb/store.go 86.60% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ac003b2...d96c2c1. Read the comment docs.