Studio should still generate getter and setter for enums when using Lombok

Im pretty happy with the Lombok support in studio to not generate any getters and setters on lombok annotatedd entities.

However, an exception should be made for Jmix enums. When you add an enum to an existing entity that is already annotated the getters and setters are not being generated. The Lombok generated accessors work with a String instead of a typed enum (due to how enums are handled in entities).

The UI then uses a textField component instead of a dropdown when rendering.

For another idea, considering that Jmix is already generating extra code for the entities. Couldn’t Jmix generate those getters and setters so we can drop Lombok altogether?

Hello, thanks for reporting the issue with enum attribute access methods. I’ve created a new ticket to fix this issue.