hyperledger / aries-vcx

aries-vcx is set of crates to work with DIDs, DID Documents, DIDComm, Verifiable Credentials and Hyperledger Aries.
https://didcomm.org
Apache License 2.0
124 stars 83 forks source link

Use TryFrom in conversions which may fail #439

Closed mirgee closed 1 year ago

mirgee commented 2 years ago

Currently, we have some From implementations which should be converted to TryFrom as they may fail, e.g. impl From<Invitation> for DidDoc.

Patrik-Stas commented 1 year ago

Closing as it has been previously rewritten to method into_did_doc returning Result