Skip to content

Commit

Permalink
Merge branch '2.19'
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jan 16, 2025
2 parents b7ce302 + b0d7a1b commit dc04bdd
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ static class BeanListWrapper {
/**********************************************************
*/

private final ObjectMapper MAPPER = new ObjectMapper();
// Since one of the tests uses VIEW inclusion, let's specify inclusion
// (as default varies between Jackson 2.x and 3.x)
private final ObjectMapper MAPPER = jsonMapperBuilder()
.enable(MapperFeature.DEFAULT_VIEW_INCLUSION)
.build();

@Test
public void testListWithPolymorphic() throws Exception
Expand Down

0 comments on commit dc04bdd

Please sign in to comment.