lombok-intellij-plugin
lombok-intellij-plugin copied to clipboard
@Builder annotation ignore the constraints of the field.
Short description
builder annotation ignore the constraints of the field.
Expected behavior
The builder of lombok plugin in intelij seems to ignore the constraints of the field. Is it intended?
Version information
- IDEA Version: _2020.1.1 Intellij Ultimate
- JDK Version: openjdk 1.8.0_252
- OS Type & Version: Ubuntu 18.04 lts
- Lombok Plugin Version: Last version (0.29) released on 01.03.2020
- Lombok Dependency Version: What version of lombok.jar are you using?
Steps to reproduce
What steps do we need to take to reproduce this issue?
- Add some constraint field like NOTNULL
- add builder annotation in entity class
- build() may ignore fields constraint
@choiasher Could you provide an example? It's not 100% clear from the description for me what did you mean.