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"
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"