You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Concretely, DidResolutionResult.didDocument should no longer be nullable, and instead of an error being buried in didResolutionMetadata per the did core spec, we need to throw a DidResolutionException that itself has a didResolutionMetadata member.
This way all errors thrown by didResolver.resolve can be handled in a single code path vs try/catching and checking if resolutionResult.hasError()and didDocument being nullable.
The text was updated successfully, but these errors were encountered:
Concretely,
DidResolutionResult.didDocument
should no longer be nullable, and instead of an error being buried indidResolutionMetadata
per the did core spec, we need to throw aDidResolutionException
that itself has adidResolutionMetadata
member.This way all errors thrown by
didResolver.resolve
can be handled in a single code path vs try/catching and checking ifresolutionResult.hasError()
and didDocument being nullable.The text was updated successfully, but these errors were encountered: