-
Notifications
You must be signed in to change notification settings - Fork 350
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
Kotlin value classes in entities fail with IllegalStateException #1762
Comments
If you would like us to spend some time helping you to diagnose the problem, please spend some time describing it and, ideally, providing a minimal yet complete sample that reproduces the problem. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
@mp911de Hi, here is minimal reproducible example: sdj-kotlin-value |
@schauder For a reason, |
On one hand: git blame says it was introduced by @odrotbohm for performance reasons, so the harm in removing it would be limited. I don't even understand how this improves performance, except when on considers time until eventual failure. On the other hand: Wouldn't it fail later on anyway, since we do need the names? |
Not necessarily as we have multiple instantiators that understand the Kotlin-specifics. For the parameter in question, |
Ok, I'll take the check out. |
For Kotlin constructors and possibly others parameters maybe unnamed and still work with our infrastructure. Closes #1762
For Kotlin constructors and possibly others parameters maybe unnamed and still work with our infrastructure. Closes #1762
Although #1093 suggest otherwise following code fails on 3.2.4:
with:
The text was updated successfully, but these errors were encountered: