Skip to content

[Task] Support relative references in CoreDocument #1072

Open
@olivereanderson

Description

@olivereanderson

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 should deserialize to a valid CoreDocument.

Motivation

Section 3.2.2 of the DID Core spec 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.

Metadata

Metadata

Assignees

Labels

RequestRequest a feature

Type

No type

Projects

Status

In Review

Relationships

None yet

Development

No branches or pull requests

Issue actions