spring-data-rest icon indicating copy to clipboard operation
spring-data-rest copied to clipboard

Support record for projections

Open ah1508 opened this issue 8 months ago • 0 comments

Spring Data REST can only use interface based projection.

Modern Java uses records a lot and Spring Data support them (except native query with spring data jpa), how about adding support for records in Spring Data REST ? Error message when a record is used as an excerpt projection or with ?projection=... in the querystring: "Projection type must be an interface"

ah1508 avatar Jun 03 '24 19:06 ah1508