Skip to content

Documentation: Recommend Records instead of Lombok for class based projections #2843

Closed as not planned
@grubeninspekteur

Description

@grubeninspekteur

The documentation section on Class-based Projections (DTOs) recommends Lombok's @Value annotation to reduce boilerplate of DTOs. With the Java 17 baseline of Spring 6, it would be better to just replace the example with a record, mention that DTOs can be arbitrary classes with a constructor, and remove the mention of Lombok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions