-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Description
Hi @yangtu222
I think i found a bug in this simple example :
public class User {
public String name;
public Job job;
@CopyProperty(ignored=true)
public List<SomeThing> things1;
}
public class Job {
public String name;
@CopyProperty(ignored=true)
public List<SomeClass> things2;
}
// api call
User userCopy = BeanCopyUtils.copyBean(user, User.class);
I get the userCopy.things1 = null which is exactly what i want !
The problem is that userCopy.job.things2 is not null even if annotated with @CopyProperty(ignored=true).
So i think the annotations declared in N+1 are like not "parsed".
Thanks for your help !
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels