Ambigous ModelMapper getting started example

23 views
Skip to first unread message

Michał Antkowicz

unread,
Jan 30, 2019, 3:41:14 PM1/30/19
to modelmapper
Hi guys,

would it be possible to modify Getting Started example on ModelMapper main page? I mean this part:

modelMapper.addMappings(mapper -> {
mapper.map(src -> src.getBillingAddress().getStreet(),

is not really clear since it makes impression that modelMapper variable is of type ModelMapper when actually it seems that it must by instance of TypeMap. I think that adding declaration line would be enough:



Best Regards,
Michał
Reply all
Reply to author
Forward
0 new messages