johnflan
johnflan

Reputation: 321

Best approach to additive collection mapping with Orika?

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.

Upvotes: 1

Views: 1091

Answers (1)

Sidi
Sidi

Reputation: 1739

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 .

Upvotes: 1

Related Questions