Closed roookeee closed 5 years ago
Initial implementation done in branch issue-15
. Will have to review the changes and documentation before merging into develop (1.2.0-SNAPSHOT).
As #16 is still open: should I apply PECS here?
PECS was added in branch issue-15
Merged into develop
I reconsidered adding this functionality to datus as there are quite a few scenarios wherin simple data structures are recursively included in themselfs (parent child relations like categories or products containing more subproduct variants).
There is an utility class outlined in https://github.com/roookeee/datus/blob/master/USAGE.md#advanced-usage--faq to fix this problem. Implementing the given class once (+ unit tests) is far superior to letting users handle it themselves.
Let's add it :)