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
I need to either pass dot-notation paths (and use a third party lib, like _ or object-path) or, to avoid dependencies, perhaps consider passing a matching fn to the constructor, which I can use third party libs without affecting deps on this module.
list-to-tree/dist/list-to-tree.js
Line 39 in 06f5196
I have a need to generate a tree from a collection (array of objects). But my paths are nested - eg:
I need to either pass dot-notation paths (and use a third party lib, like _ or object-path) or, to avoid dependencies, perhaps consider passing a matching fn to the constructor, which I can use third party libs without affecting deps on this module.
Then you could pass whatever id-to-id matching fns you need.
Now I can use:
Thoughts?
The text was updated successfully, but these errors were encountered: