Name: ipld-examples
Owner: IPLD
Description: null
Created: 2016-01-22 05:57:29.0
Updated: 2017-10-13 03:31:22.0
Pushed: 2016-06-26 13:56:58.0
Homepage: null
Size: 21
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo contains several datastructure examples to use with IPLD, the new data format for IPFS.
These examples aim to be complete.
How to structure pathing and resolution through objects is a troublesome issue. You can read the IPLD spec here and read some of the arguments here.
The problem boils down to an issue introduced by the combination of link-local properties (properties on the link object itself) and transparent resolution of objects and links (using a single delimiter for traversing objects and links).
To resolve this, a number of variations have been presented:
/
but disallow accessing link-local properties. cons: cannot access link properties :(/
but disallow using link-local properties. cons: cannot HAVE link properties :c/
and define the order the accesses happen, so that it is not ambiguous. cons: it may be confusing.. /
or / //
). cons: two delimiters, escaping or incompatibilities.object
to access the object resolved through, and/or .link
for accessing link local properties.link/
to resolve through (or some other operator string/char) con: a/link/b/link/c/link typing.link/
, a combination of (4) and (7).One goal of this repo is to experiment with these and see which feels best.
Feel free to join in. All welcome. Open an issue!
This repository falls under the IPFS Code of Conduct.