Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Resolve DID based on versionId #646

Merged
merged 1 commit into from
Feb 25, 2022
Merged

Conversation

sandrask
Copy link
Contributor

  • add versionId to did document metadata
  • resolve document based on versionId

Closes #645

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

- add versionId to did document metadata
- resolve document based on versionId

Closes trustbloc#645

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
@codecov
Copy link

codecov bot commented Feb 24, 2022

Codecov Report

Merging #646 (a411d32) into main (a3c5de5) will decrease coverage by 0.02%.
The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #646      +/-   ##
==========================================
- Coverage   93.63%   93.61%   -0.03%     
==========================================
  Files          75       76       +1     
  Lines        4102     4149      +47     
==========================================
+ Hits         3841     3884      +43     
- Misses        146      148       +2     
- Partials      115      117       +2     
Impacted Files Coverage Δ
...g/versions/1_0/doctransformer/metadata/metadata.go 97.50% <0.00%> (-2.50%) ⬇️
pkg/processor/processor.go 94.73% <92.59%> (-0.48%) ⬇️
pkg/dochandler/handler.go 94.83% <100.00%> (ø)
pkg/document/resolution.go 100.00% <100.00%> (ø)
pkg/restapi/dochandler/resolvehandler.go 94.44% <100.00%> (+1.34%) ⬆️
.../versions/1_0/operationapplier/operationapplier.go 91.20% <100.00%> (+0.19%) ⬆️

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 a3c5de5...a411d32. Read the comment docs.

@fqutishat fqutishat merged commit 6e715b5 into trustbloc:main Feb 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resolve DID based on versionId
3 participants