class SOURCE {
List<B1> prop;
}
class TARGET {
List<B2> props;
}
static class Source {
private NestedSource nestedSource;
}
static class NestedSource {
private List<B1> prop;
}
static class Destination {
private List<B2> props;
}
modelMapper.addMappings(new PropertyMap<Source, Destination>() {
protected void configure() {
map(source.getNestedSource().getProp(), destination.getProps());
}
});
Hi,
Thanks for your report, I will check that if it possible to improve the error message for this case!
--
You received this message because you are subscribed to the Google Groups "modelmapper" group.
To unsubscribe from this group and stop receiving emails from it, send an email to modelmapper...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.