trustbloc / sidetree-core-go

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

feat: Add custom patches for also known as #680

Closed sandrask closed 2 years ago

sandrask commented 2 years ago

Add two custom patches for adding/removing also known as URIs: -add-also-known-as -remove-also-known-as

Closes #679

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

codecov[bot] commented 2 years ago

Codecov Report

Merging #680 (0515ed5) into main (c7b1e3c) will increase coverage by 0.28%. The diff coverage is 97.82%.

@@            Coverage Diff             @@
##             main     #680      +/-   ##
==========================================
+ Coverage   93.73%   94.02%   +0.28%     
==========================================
  Files          76       77       +1     
  Lines        4230     4317      +87     
==========================================
+ Hits         3965     4059      +94     
+ Misses        148      141       -7     
  Partials      117      117              
Impacted Files Coverage Δ
pkg/document/document.go 95.00% <50.00%> (+8.15%) :arrow_up:
pkg/document/diddocument.go 85.71% <100.00%> (+3.36%) :arrow_up:
pkg/patch/patch.go 93.81% <100.00%> (+1.95%) :arrow_up:
pkg/versions/1_0/doccomposer/composer.go 91.84% <100.00%> (+1.78%) :arrow_up:
...s/1_0/doctransformer/didtransformer/transformer.go 97.54% <100.00%> (ø)
.../1_0/operationparser/patchvalidator/alsoknownas.go 100.00% <100.00%> (ø)
...ns/1_0/operationparser/patchvalidator/validator.go 95.00% <100.00%> (+0.55%) :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 c7b1e3c...0515ed5. Read the comment docs.