-
Notifications
You must be signed in to change notification settings - Fork 108
Spec refining: IPLD pointers must point to IPLD objects only #8
Comments
Does this imply that all |
@diasdavid We should really think about this. The way I see it is that Let me know if there is a misunderstanding here |
@diasdavid this also implies that |
I think it would be very important to keep all ipld objects behind a name space like |
the really important aspect is that: if we don't accept 7 #7, so, we don't require the But this requires:
|
A big post is coming soon (possibly today or tomorrow, //cc @jbenet) describing what is our proposal for migration to IPLD, which includes how to handle this different paths. It will clarify the |
Yes, i think we should do this for the raw merkledag. the objects may still be retrieved through
Yes, i see it that way too.
I'm not sure this is a problem. The retreiver would decide how to handle the last object:
I'm not sure we can be "namespace purists" because we'll have to do encapsulated resolution through namespaces elsewhere, and already do it. for example:
So with
|
Thanks @jbenet, here are some new thoughts to the conversation: If IPLD paths can point to byte arrays (like it seems it is now with CID), then IPLD can point to an IPFS object (which is just an IPLD transformed graph). Also, if we make unix-fs folders to be IPLD objects served via /ipfs, then everything is IPLD and If the above is correct, and we treat any other namespace like IPLD (maybe transformed) objects, then we can link across scheme, and it would be great to have the |
i think that's right. im not 100% sure we agree on all the terms but it sounds right to me |
Closing due to staleness as per team agreement to clean up the issue tracker a bit (ipld/team-mgmt#28). This doesn't mean this issue is off the table entirely, it's just not on the current active stack but may be revisited in the near future. If you feel there is something pertinent here, please speak up, reopen, or open a new issue. [/boilerplate] |
The following is an argument on why we should only have IPLD pointers to IPLD objects (so never to IPFS). The idea is that we can still link to IPFS objects - but not using the IPLD link object (
{'/': hash}
)Pro:
very clean: all IPLD link to IPLD object only
links to other objects that are not traversable with the IPLD pointer/data model should not be supported (this creates very awkward pathing) instead they should be used in userland (so no IPLD pointers)
we could make
/ipld
implicit (but maybe not Spec refining: requiring namespace in IPLD pointers #7)Cons:
However: if IPFS is just a transformation on top of IPLD, then IPFS objects (e.g. folders) are still IPLD objects, hence it might actually make sense to keep IPFS links
cc @dignifiedquire, @diasdavid, @jbenet, @Stebalien
The text was updated successfully, but these errors were encountered: