Closed GoogleCodeExporter closed 9 years ago
In fact, this was intentional since a lot of us wan't to override internal
implementation, users usually want to preserve their internal collection
implementations.
To customize this, by adding to MapperFactory a CustomMapper of Collection to
Collection, this can solve the issue (think about it as collection's merge
strategy).
Any way I will let the issue open to to give a deeper look, we're working on
modularization of generator so it's possible to extend it and/or override
default generated code.
Thank you.
Original comment by elaat...@gmail.com
on 20 Nov 2012 at 8:13
An update has been applied in current master which will attempt to map using
the setter, unless the variable is not assignable, in which case, it will fall
back to mapping against the (assumed) reference retrieved from the getter.
Original comment by matt.deb...@gmail.com
on 24 Nov 2012 at 6:30
This change was applied in the 1.4.0 release.
Could you tell us if you're seeing improved behavior with use of the 1.4.0
version?
Original comment by matt.deb...@gmail.com
on 11 Jan 2013 at 2:24
This issue fix works. But another of my test cases failed when I updated:
http://code.google.com/p/orika/issues/detail?id=77 May be related?
Original comment by wirch.ed...@gmail.com
on 16 Jan 2013 at 9:06
fixed in 1.4.1 (along with associated issue #77)
Original comment by matt.deb...@gmail.com
on 10 Feb 2013 at 5:54
Original issue reported on code.google.com by
wirch.ed...@gmail.com
on 20 Nov 2012 at 2:56