temporalio / temporalio/sdk-java
KotlinObjectMapperFactory is not forwards compatible
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 433
- Forks
- 249
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 26
Description
Expected Behavior
KotlinObjectMapperFactory works
Actual Behavior
KotlinObjectMapperFactory crashes with MethodNotFoundError
Steps to Reproduce the Problem
- Use temporal kotlin
- Upgrade jackson kotlin library
- Crash
Specifications
- Version:
- Platform:
Instead of using a deprecated method, it would have been best to try using the builder first, then fall back to the deprecated KotlinModule constructor. Alternatively, we should just use the builder as we can't even pick which KotlinModule constructor we compile against.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate KotlinObjectMapperFactory and trace how it initializes KotlinModule when the Jackson Kotlin library is upgraded. Verify the failure involving the deprecated constructor and MethodNotFoundError, then confirm that the factory works with the upgraded library without breaking supported configurations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, kotlin
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100