Currently, bean transformers in Spring can not be registered as default.
- For annotated transformers, we could add a
@DefaultMappingTransformer annotation which will register the transformer as default
- For transformers declared as beans from JavaConfig/XML, maybe we could add a construct similar to
FilterRegistration, where additional information on the transformer is defined, could also utilize the existing TransformerRegistration for this purpose
Currently, bean transformers in Spring can not be registered as default.
@DefaultMappingTransformerannotation which will register the transformer as defaultFilterRegistration, where additional information on the transformer is defined, could also utilize the existingTransformerRegistrationfor this purpose