input-output-hk / prism-did-method-spec

Apache License 2.0
15 stars 1 forks source link

Order of verification methods and services #33

Closed EzequielPostan closed 1 year ago

EzequielPostan commented 1 year ago

we are not providing tools for users to order the lists of verficationMethod and service, is this relevant for any known use case?

I would expect people refer to keys and services using their respective ids instead of indexes in arrays, but I would like to check on this

peacekeeper commented 1 year ago

The order doesn't matter, you are right that the dereferencing always happens by id, or by verification relationships such as authentication, but not by index in the array.

EzequielPostan commented 1 year ago

I will close this issue, thank you @peacekeeper