Test customizing the Jackson object mapper (#30670)
Starting with https://github.com/FasterXML/jackson-databind/issues/2683 Jackson will no longer use the generic bean serialization when serializing a `java.time.Instant`, but throw an error (since the bean serialization doesn't make sense for those types anyway). Our test relied on the bean serialization to test using custom object mappers. This PR improves the test to use a 'real' custom mapper instead of just relying on the bean fallback.
This commit is contained in:
parent
145b2fd326
commit
9f252696ec
2 changed files with 22 additions and 8 deletions
2
.github/workflows/scala3-build.yml
vendored
2
.github/workflows/scala3-build.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
|||
- akka-discovery/test
|
||||
- akka-persistence/compile
|
||||
- akka-pki/test
|
||||
- akka-serialization-jackson/Test/compile
|
||||
- akka-serialization-jackson/test
|
||||
- akka-slf4j/test
|
||||
- akka-stream/test akka-stream-testkit/test akka-stream-tests/test
|
||||
- akka-stream-tests-tck/test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue