Skip to content

Enable using property mapping methods that contain @MappingTarget parameters #160

@agudian

Description

@agudian

Mapping methods that contain an @MappingTarget parameter should be usable as property mapping methods.

The generated code should cover the following cases:

  • The @MappingTarget method could return void or the target type. In case the target type is returned, we should call the setter with that value.
  • The target property may be null. I guess we should hand in a new instance of the target type (call constructor or a factory method).

Any thoughts?

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions