mbouclas / loopback-ds-tree-mixin

Transform a loopback model into a tree using the Array of Ancestors pattern
MIT License
6 stars 4 forks source link

- Feature #18: Support custom identifiers on models #19

Closed Akeri closed 5 years ago

Akeri commented 5 years ago

Hello, first of all thanks for this repository. I found a issue that we discuss in #18, this is the mixin does not work for models with a custom identifier. This PR fixes that, and during the course of my work I tested the whole library and found some other issues that I took the opportunity to correct.

The list of changes:

I hope all these changes are ok for you.