KotlinModule is Private. #857
Replies: 1 comment
-
Yes, that is correct. Direct calls to the primary constructor are prohibited except in reflection, since default arguments cause bytecode compatibility problems. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We were trying to migrate our very very old Kotlin to the latest one, as a part of an application wide upgrade to move to everything new. But upgrading Kotlin has lead to a stumbling block. We are migrating from the old Kotlin 1.4.0 to 2.0.21 and the Jackson Kotlin module to 2.18.1. But this line of code is throwing an exception:
So I looked at the Usage section of the GitHub page, and I saw some guidelines. From what I understand the above code now becomes:
Is my understanding correct? There are plenty of other issues, but this is a start.
Beta Was this translation helpful? Give feedback.
All reactions