This makes it impossible to break up paths with any characters like / that are not allowed in normal tokens. In addition, the resolver has been updated to deal with this higher level of potential nesting.
What this means is that in effect all paths are now simply a pair of parent::child meaning that all sub-paths can be fluently composed into a single resolvable path.
Tests have been added for nesting and clearing, as well as to ensure that base tokens are themselves not nested under a path, as this could introduce a cycle.
Fixes #61
This makes it impossible to break up paths with any characters like
/
that are not allowed in normal tokens. In addition, the resolver has been updated to deal with this higher level of potential nesting.What this means is that in effect all paths are now simply a pair of
parent::child
meaning that all sub-paths can be fluently composed into a single resolvable path.Tests have been added for nesting and clearing, as well as to ensure that base tokens are themselves not nested under a path, as this could introduce a cycle.