Closed jonua closed 4 years ago
The functional interface is supported by org.modelmapper.ExpressionMap
ExpressionMap.
And it looks like we have wrong example, I will update it.
modelMapper.typeMap(Order.class, OrderDto).addMappings(
mapper -> {
...
});
Thanks for reporting the issue, issue fixed in 10a7d967.
Hi,
now, in getting started guide in section "Expicit mapping" placed example:
But in current latest version (1.1.2)
org.modelmapper.PropertyMap
is not a functional interface. Example from modelmapper repo is actualPlease, fix your documentation