Support both filters and views in AbstractJackson2HttpMessageConverter [SPR-17209] #21742
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Daniel Raniz Raneland opened SPR-17209 and commented
Currently, if you set a view class on the MappingJacksonValue it will pick that and ignore any filter provider.
Both of these could be supported by changing:
into
We're using version 4.3.17, but as far as I can tell (by looking at GitHub) this is still the case for 5.0.
Affects: 4.3.17
Issue Links:
@JsonView
@JsonFilter
Referenced from: pull request #1940, and commits a44fe4c, 03f1920, 069704f
Backported to: 4.3.19
The text was updated successfully, but these errors were encountered: