Skip to content

Constructor creation of DTO projection fails #1292

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

Closed
mp911de opened this issue Jul 19, 2022 · 0 comments
Closed

Constructor creation of DTO projection fails #1292

mp911de opened this issue Jul 19, 2022 · 0 comments
Assignees
Labels
type: bug A general bug

Comments

@mp911de
Copy link
Member

mp911de commented Jul 19, 2022

Same issue as spring-projects/spring-data-mongodb#4120.

@mp911de mp911de added the type: bug A general bug label Jul 19, 2022
@mp911de mp911de added this to the 3.4.3 (2021.2.3) milestone Jul 19, 2022
@mp911de mp911de self-assigned this Jul 19, 2022
mp911de added a commit that referenced this issue Jul 19, 2022
We now correctly instantiate DTO projection classes by using the actual constructor argument type. Previously, we did not update the conversion context to fetch the correct type but used the type of the DTO projection class instead of the constructor argument.

Closes #1292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant