Skip to content

Commit

Permalink
fix(sql): Test ONLY with serializer vs serial and deserializer
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonmcintosh committed Nov 14, 2024
1 parent 2d003a9 commit 25f5b51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ fun configuredObjectMapper(): ObjectMapper = ObjectMapper().configureForKeel()
fun configuredYamlMapper(): YAMLMapper = YAMLMapper().configureForKeel().disable(USE_NATIVE_TYPE_ID)
fun <T : ObjectMapper> T.configureForKeel(): T {
val javaTimeModule = JavaTimeModule()
javaTimeModule.addDeserializer(Instant::class.java, PrecisionSqlDeserializer())
// javaTimeModule.addDeserializer(Instant::class.java, PrecisionSqlDeserializer())
javaTimeModule.addSerializer(Instant::class.java,PrecisionSqlSerializer())
return apply {
registerKeelApiModule()
Expand Down

0 comments on commit 25f5b51

Please sign in to comment.