-
Notifications
You must be signed in to change notification settings - Fork 356
DTO projections causes the converter to be called twice #1725
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
Labels
type: regression
A regression from a previous release
Milestone
Comments
Care to attach any error details, such as a stack trace? |
Sorry, just added it. However, I suspect the issue starts before what stacktrace shows. |
For DTO projections using constructor creation, properties are populated twice which is unfortunate. |
mp911de
added a commit
that referenced
this issue
Jan 29, 2024
We now skip property population for properties that are populated through an entity creator (constructor/factory method). Closes #1725
This was referenced Jan 29, 2024
Closed
Super thanks for the quick fix 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not 100% sure this is correct place but I'm having a hard time debugging this issue that appeared since I bumped spring boot to 3.2.1.
During the fetch R2dbcEntityTemplate calls the toRowDocument which seems to cause the converter to be called exhausting the ByteBuffer. I'm not able yet to correlate the change that could have caused that.
Sample project: https://github.com/rotilho/demo4
The text was updated successfully, but these errors were encountered: