ipld / interface-ipld-format

A interface you can follow to implement a valid IPLD format, resolvable through the IPLD Resolver (available in IPFS)
Other
29 stars 5 forks source link

Removing `isLink()` from spec #17

Closed vmx closed 6 years ago

vmx commented 6 years ago

This spec is about APIs a format needs to implement in order to be used by the resolver.

I think that isLink() is a higher level concept. It doesn't need to be implemented by every format, but can be a function of js-ipld-resolver.

@diasdavid What do you think?

daviddias commented 6 years ago

I believe @kumavis proposed this one. I see your point @vmx and agree, it can be done entirely on the main resolver given that an IPLD link is a well known structure. What do you think @kumavis ?