remondis-it / remap

A declarative mapping library to simplify testable object mappings.
Apache License 2.0
122 stars 22 forks source link

Feat support restructure in mapping model #147

Closed schuettec closed 1 year ago

schuettec commented 2 years ago

Feature: Support restructure operation in mapping model

Before feature: The mapping model for mappings involving restructure operations only contained omit operations for fields that take part in the restructure operations.

After feature: The mapping model now contains all transformations for fields that take part in any nested restructure operation defined by a mapper in the transitive mapping graph. This was done to make any conversion of a source to destination field accesible even if defined by resturcture operation.