You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cyrush
changed the title
review use of paths Node and path NodeIterator
review use of paths() Node and path() NodeIterator
Sep 16, 2016
cyrush
changed the title
review use of paths() Node and path() NodeIterator
reconsider the names of Node::paths() and NodeIterator::path() methods
Sep 16, 2016
We are adding a path() function that returns a string with the full path to the given node
has_path and fetch path variants descend the tree, but, the new path() clashes a bit with a few other uses "path" in method names:
For example, in the Node and Schema classes:
In the NodeIterator class:
I propose changing the path variants in the Node and Schema classes to
And path() in NodeIterator to:
It's an API breaking change, but I think 0.2.0 is the right time to do this.
The text was updated successfully, but these errors were encountered: