Open domroydumcn opened 2 days ago
Ok so:
@JsonView
, handling provided by jackson-databind, so this request would only be for specific change to @JsonView
type (but not to that adding new functionality)@JsonView
should be changed (confusing to existing users since it would have no meaning for regular view handling). More likely a new annotation should be created; one that could use @JsonView
as parameter type for 2 propertiesIn practice I think this would be adding annotation in whatever framework is being used: Spring Boot, Quarkus -- or, if JAX-RS / Jakarta-RS, to
Allow using one view as input and a different view of the same DTO as output to a method. Like this :