Skip to content

IDE Support of BeanMapping#ignoredTargets #181

Open
@thunderhook

Description

When the following PR of mapstruct/mapstruct#3539 is merged:

we can also add a support for this kind of ignore list:

@Mapper
public interface BeanMappingIgnoreTargetMapper {

    BeanMappingIgnoreTargetMapper INSTANCE =
            Mappers.getMapper( BeanMappingIgnoreTargetMapper.class );

    @BeanMapping( ignoreTargets = {"nested.flag", "address"} )
    Target convert( Source source );
}

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions