-
Notifications
You must be signed in to change notification settings - Fork 175
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
Boolean property setter is skipped if name isX prefixed #798
Comments
Confirmed. Lines 66 to 71 in c045748
Since implementation is undecided, please use a workaround such as |
Thank you for your response. Is there hope for a real solution on this in the future? |
I am also curious if this feature could be released for some day. |
At least I don't have time to work on it. |
Search before asking
Describe the bug
Jackson will not call property setter for boolean properties if the name is prefixed with isX.
Value is still assigned, which makes me suspect that it is assigning value to the backing field directly instead.
To Reproduce
Expected behavior
When running the reproduction case then the test should succeed.
The setter of isAlive property should be called.
Versions
Kotlin: 1.9.23
Jackson-module-kotlin: 2.17.1
Additional context
No response
The text was updated successfully, but these errors were encountered: