knox-networks / ssi

Rust SSI library that helps developers handle Digital Identity, Verifiable Credentials and Verifiable Presentations.
Apache License 2.0
2 stars 0 forks source link

`create_identity` requires ownership of resolver instead of accepting a reference #80

Closed LuisOsta closed 2 years ago

LuisOsta commented 2 years ago

Apart from the wrong ownership model, it also means that the mock cannot be used for testing as currently we cannot clone the expectations when cloning the mock resolver object