-
Notifications
You must be signed in to change notification settings - Fork 883
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not support lombok @Accessors(chain = true) #108
Comments
Did you solve it? |
use |
But org.springframework.beans.BeanUtils.copyProperties(source, target); is another solution, so if still use cglib, how to do ? |
BeanCopier是基于ASM字节码增强做的,效率比Spring的要高很多 (仅次于硬编码)。不建议因为这个原因去用Spring或者apache的BeanUtils。还是老老实实用@builder吧 |
use BeanCopier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
BeanCopier.create
will throw exception when thesource
ortarget
use@Accessors(chain = true)
in lombok.But
org.springframework.beans.BeanUtils.copyProperties(source, target);
has no problem.The text was updated successfully, but these errors were encountered: