trustbloc / sidetree-core-go

Ledger-agnostic Sidetree core components in Golang
Apache License 2.0
23 stars 17 forks source link

chore: Add operation decorator to document handler #619

Closed sandrask closed 3 years ago

sandrask commented 3 years ago

This component will be invoked before adding operation to the batch queue. It will be used for additional business validation/pre-processing of operation.

Closes #618

Signed-off-by: Sandra Vrtikapa sandra.vrtikapa@securekey.com

codecov[bot] commented 3 years ago

Codecov Report

Merging #619 (2e0d9bd) into main (aa85f3b) will increase coverage by 0.01%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #619      +/-   ##
==========================================
+ Coverage   93.47%   93.49%   +0.01%     
==========================================
  Files          75       75              
  Lines        3970     3980      +10     
==========================================
+ Hits         3711     3721      +10     
  Misses        146      146              
  Partials      113      113              
Impacted Files Coverage Δ
pkg/dochandler/handler.go 92.76% <100.00%> (+0.27%) :arrow_up:
pkg/processor/processor.go 93.25% <100.00%> (+0.07%) :arrow_up:

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 aa85f3b...2e0d9bd. Read the comment docs.