Skip to content

Commit

Permalink
Merge pull request #198 from conductor-oss/add_back_om_afterburner_mo…
Browse files Browse the repository at this point in the history
…dule

Add back `AfterburnerModule` to `ObjectMapperConfiguration`
  • Loading branch information
jmigueprieto authored Jul 2, 2024
2 parents 8f10dce + 24671ed commit 9ed5e54
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.module.afterburner.AfterburnerModule;
import jakarta.annotation.PostConstruct;

@Configuration
Expand All @@ -33,5 +34,6 @@ public void customizeDefaultObjectMapper() {
objectMapper.setDefaultPropertyInclusion(
JsonInclude.Value.construct(
JsonInclude.Include.NON_NULL, JsonInclude.Include.ALWAYS));
objectMapper.registerModule(new AfterburnerModule());
}
}

0 comments on commit 9ed5e54

Please sign in to comment.