-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
jackson-databind 2.11.0-SNAPSHOT no longer supports Scala Either[L,R] #2569
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
Comments
From warnings, this seems relevant:
and as per Javadocs
Not sure if what might have changed since deprecation was bit earlier but typically behavior of deprecated methods is less well tested after deprecated (that is, test code is updated to use non-deprecated functionality, most of the time). But it probably makes sense to start by changing the call as suggested and see if that helps. |
I removed the use of the findConvertingContentSerializer method but the same issue occurs. |
In my testing, I isolated the change that caused the issue to the commits of Nov 9. https://github.com/FasterXML/jackson-databind/commits/2.11?after=2f89b9ca71f8e009f50b86506dc5f11804b5ad94+34 |
Did not realize that Unfortunately I can't quite decipher Scala code with traits and all so I don't know where and how |
@cowtowncoder I fixed jackson-module-scala with FasterXML/jackson-module-scala@2718645 - in the past, findBeanDeserializer worked but now findReferenceDeserializer is needed |
@pjfanning excellent, thank you. I am not sure how this could be done, but it would be great to figure out a way to do Travis builds to help figure out breaking changes in |
@cowtowncoder I set up a daily build on jackson-module-scala 2.11 branch - based on https://docs.travis-ci.com/user/cron-jobs/ - I'll see if it runs as expected |
the only (?) trick really would be to trigger that build when jackson-databind or jackson-core runs. Perhaps it could be triggered by availability of a new snapshot version at Sonatype snapshot repo? I am specifically worried about changes in databind, over time. Changes in modules themselves are caught quite well by travis builds already. |
the cron-based build I set up for jackson-module-scala pulls in latest jackson 2.11.0-SNAPSHOT jars |
@pjfanning ah so it runs on regular schedule, in addition to being triggered by new commits? That would work. Unrelated, but now that we are talking: just filed this which is more triggered by needs of Kotlin (originally filed #2527) but might help resolve some long term Scala module challenges too. |
yes it builds off both commits and a daily schedule |
Not related to this issue which is now fixed it sounds like (yay!), but completing #2527 which supports Kotlin's approach via new |
I've isolated the change in jackson-databind to changes of 9 Nov 2019.
The text was updated successfully, but these errors were encountered: