toposort icon indicating copy to clipboard operation
toposort copied to clipboard

On Cyclical Dependency Error: Include Id Property In Error Object?

Open Volcanic-Penguin opened this issue 5 years ago • 0 comments

Hey!

Great npm package for topological sort. I was wondering if perhaps the error that's thrown when getting a cyclical dependency could be made to include the node id as a property in the error object instead of having to split the error message string to get to it?

Volcanic-Penguin avatar Feb 14 '19 15:02 Volcanic-Penguin