Quoting from a StackOverflow Q&A , the current version 2.3.8 doesn't seem to support java record classes.
The minimal code sample used to test this (quoting the link)
public record UserDto(String firstName,
String lastName,
String email,
String imageUrl) {}
User post = modelMapper.map(userDto, User.class);
Quoting from a StackOverflow Q&A , the current version 2.3.8 doesn't seem to support java
recordclasses.The minimal code sample used to test this (quoting the link)
User post = modelMapper.map(userDto, User.class);