Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Incorrect documentation of mapstruct.unmappedSourcePolicy default value #3635

Copy link
Copy link

Description

@cmcgowanprovidertrust
Issue body actions

I think there may be a mistake in the Reference Guide documentation. In section 2.4 it describes the mapstruct.unmappedSourcePolicy and states it has a default value of WARN. But in practice, it seems that the default value is actually IGNORE. That is the behavior I get just setting up a new Mapper with no other configuration.

The source code for Mapper.java seems to support the idea that IGNORE is the intended default: ReportingPolicy unmappedSourcePolicy() default ReportingPolicy.IGNORE;

I believe this was a simple copy-paste error introduced in #2572

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.