Вопрос

Is it possible to define an additive mapping strategy for collections with Orika?

I am currently using a mixture of Orika and a custom implementation - however its not an approach that will scale very well.

Это было полезно?

Решение

Yes, actually in Orika, you can define any merge strategy for collection all you have to do is to register a custom mapper between two collections please take a look at this unit test .

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top