roookeee / datus

datus enables you to define a conversion process between two data structures in a fluent functional API
MIT License
41 stars 5 forks source link

Examine if its possible to define mappers for self-recursive data-structures #6

Closed roookeee closed 5 years ago

roookeee commented 5 years ago

As its not possible to reference the currently being built mapper it is impossible to convert self-recursive data-structures (e.g. trees, double-linked-lists).

roookeee commented 5 years ago

It is possible via a delegation object. I won't implement this in datus but will document it in the USAGE.md

roookeee commented 5 years ago

Done and documented in develop