lombok-intellij-plugin icon indicating copy to clipboard operation
lombok-intellij-plugin copied to clipboard

@Builder annotation ignore the constraints of the field.

Open choiasher opened this issue 4 years ago • 1 comments

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?

  1. Add some constraint field like NOTNULL
  2. add builder annotation in entity class
  3. build() may ignore fields constraint

choiasher avatar May 29 '20 10:05 choiasher

@choiasher Could you provide an example? It's not 100% clear from the description for me what did you mean.

Lekanich avatar Oct 04 '20 16:10 Lekanich