iotaledger / iotaledger/identity

[Task] Support relative references in `CoreDocument`

Open
#1,072 1 comment 1 reaction 1 assignee Assigned to @wulfraem View on GitHub
Request
Dominant language
Rust
Stars
346
Forks
100
Avg merge
13h 41m
Merged PRs (30d)
2

Description

## Description
Add support for representing references to verification methods and services by fragment only in `CoreDocument`. In other words the following [example from the DID core spec](https://www.w3.org/TR/did-core/#example-an-example-of-a-relative-did-url) should deserialize to a valid `CoreDocument`.

Development in this [PR](https://github.com/iotaledger/identity/pull/1341)

## Motivation
Section [3.2.2 of the DID Core spec](https://www.w3.org/TR/did-core/#relative-did-urls) states that relative references are often used to reference verification methods and services in DID documents.

## Resources
Link to any resources relevant for the task such as issues, PRs, reference implementations, or specifications.

## To-do list
Create a task-specific to-do list. Please link PRs that match the TODO list item behind the item after it has been submitted.

- [ ] Item one
- [ ] Item two
- [ ] Item three

## Change checklist
Add an `x` to the boxes that are relevant to your changes, and delete any items that are not.

- [ ] The feature or fix is implemented in Rust and across all bindings whereas possible.
- [ ] The feature or fix has sufficient testing coverage
- [ ] All tests and examples build and run locally as expected
- [ ] Every piece of code has been document according to the documentation guidelines.
- [ ] If conceptual documentation (mdbook) and examples highlighting the feature exist, they are properly updated.
- [ ] If the feature is not currently documented, a documentation task Issue has been opened to address this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.