Question

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.

Was it helpful?

Solution

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 .

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top