aries-vcx
aries-vcx copied to clipboard
Use `Did` type in `messages` crate
trafficstars
messageshttps://github.com/hyperledger/aries-vcx/tree/main/aries/messages crate typically types DID attributes (for example in did-exchangeResponseContentmessage type) asString.- Use
did_parser_nom's https://github.com/hyperledger/aries-vcx/tree/main/did_core/did_parser_nomDidtype instead so we parse&verify DIDs upon message deserialization.
Hello @Patrik-Stas I have created a PR #1171 for this.
Apart from the instances resolved in the PR, there are multiple other instances in agent, misc, etc where did is typed as a string.
Do I convert the PR to draft and add those instances as well?