Skip to content

Mapper does not recognize setters/getters lombok version 1.18.46 #35

Description

@slany
/// DTO
@Setter @Getter
public class TestDTO {
    private Long id;
    private String name;
}

/// Mapper
@Mapper
@EnableSpring
public abstract class TestMapper {
    public abstract TestDTO clone(TestDTO entity);
}

Generated source:

		// Copy Fields 
		//out.id /*CANNOT WRITE*/ = in.id /*CANNOT READ*/;          	//TODO:  detected problem 
		//out.name /*CANNOT WRITE*/ = in.name /*CANNOT READ*/;      	//TODO:  detected problem 

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions