Skip to content

Conversation

@matthewmillett-instaclustr
Copy link

@matthewmillett-instaclustr matthewmillett-instaclustr commented Jan 20, 2022

Constructor mappings can be explicitly defined at the mapper function level, and therefore they should be checked for first before checking for a typehandler which can resolve the return type.

Also adding in some small opportunistic changes to improve logging for ResultMapping validation - currently error messages only include the property which is usually null, but including the javaType may provide more contextual information about the exception.

Should resolve #2427.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeHandler incorrectly selects super classes/interfaces

2 participants