This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
Proposal: Move resolver to use CID instances for links #44
Labels
api-review
Tackle during the API review
The current API for
resolver.resolve(binaryBlob, path, callback)
calls for us to return{'/': baseEncodedCID}
.Now that we're moving to returning
CID
instances in the serializers it would be better to return instances here as well since the majority of the time, possibly all the time, we end up just parsing this baseEncodedCID back into aCID
instance.The text was updated successfully, but these errors were encountered: