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.

Était-ce utile?

La 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 .

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top