-
Notifications
You must be signed in to change notification settings - Fork 101
Open
Description
Consider the following single "Hashlink" example from the paper https://github.com/WebOfTrustInfo/rwot8-barcelona/blob/master/topics-and-advance-readings/DID-Content-References.md ...
did:sov:21tDAKCERh95uGgKbJNHYp!hl:zQmWvQxTqbG2Z9HPJgG57jjwR154cKhbtJenbyYTWkjgF3e
- How is a DID Resolver for the "did:sov:" DID method supposed to know what type of JSON document to return for the identifier
21tDAKCERh95uGgKbJNHYp(within the "did:sov:` DID method context)?
Clearly the data for the object as serialized and stored on the ledger will know its object type (via some sort of type or subtype attribute) ...i.e. whether the corresponding object is a DID Document, a Hashlink object, etc.
- What if
21tDAKCERh95uGgKbJNHYpis theidfor a DID Document and the Resolver is asked to apply the "!" operator to a DID Document instead of an intended Hashlink object? Does the Resolver return some sort of "type mismatch" error diagnostic to the caller?
Metadata
Metadata
Assignees
Labels
No labels