Netflix / dgs-framework

GraphQL for Java with Spring Boot made easy.
https://netflix.github.io/dgs
Apache License 2.0
3.03k stars 286 forks source link

Use Jackson2ObjectMapperBuilder to construct Jackson mapper #1796

Closed kilink closed 5 months ago

kilink commented 5 months ago

Switch to using Spring's Jackson2ObjectMapperBuilder to construct the Jackson ObjectMapper instance in GraphQLClients and DgsWebMvcAutoConfiguration, since the builder will automatically install well-known modules (such as JavaTimeModule) if they are present on the class path.

Fixes #1461