2 ms·
Records are good but if you want this in Lombok don't you just use @Getter instead of @Data to generate read only methods? Serialization is handled by Java bea
by jayd16 6y ago
Records are good but if you want this in Lombok don't you just use @Getter instead of @Data to generate read only methods?
Serialization is handled by Java bean getters and setters just fine. I don't really see an advantage.
- simonpantzare 6y agoI've used @Value along with @Builder(toBuilder=true).