Skip to content
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

Make the object mapper used for query execution configurable. #943

Merged
merged 1 commit into from Mar 24, 2022

Conversation

srinivasankavitha
Copy link
Contributor

@srinivasankavitha srinivasankavitha commented Mar 24, 2022

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Changes in this PR

This PR makes the object mapper used for query deserialization configurable by using the following set up:

@Bean
  @Qualifier("dgsObjectMapper")
  open fun dgsObjectMapper(): ObjectMapper {
    val customMapper = jacksonObjectMapper()
    customMapper.registerModule(JavaTimeModule())
    return customMapper
}

Describe the new behavior from this PR, and why it's needed
Issue #813

@srinivasankavitha srinivasankavitha merged commit 0af2a12 into master Mar 24, 2022
@oonxt
Copy link

oonxt commented Mar 29, 2022

It seems that only the webmvc version has been modified. Is the weblux version available?

@srinivasankavitha
Copy link
Contributor Author

srinivasankavitha commented Mar 29, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants