Use records for DTOs, projections, and clean API responses. Stick to regular classes (or Lombok) for JPA entities.
This post first appeared on Read More
Use records for DTOs, projections, and clean API responses. Stick to regular classes (or Lombok) for JPA entities.
This post first appeared on Read More