Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support record for projections #2389

Open
ah1508 opened this issue Jun 3, 2024 · 0 comments
Open

Support record for projections #2389

ah1508 opened this issue Jun 3, 2024 · 0 comments
Assignees
Labels
type: enhancement A general enhancement

Comments

@ah1508
Copy link

ah1508 commented Jun 3, 2024

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-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jun 3, 2024
@mp911de mp911de added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

4 participants