Skip to content

RepositoryRestMvcConfiguration should use defaultMessageConverters in extendHandlerExceptionResolvers #2431

@rajp33

Description

@rajp33

Right now the RepositoryRestMvcConfiguration uses the defaultMessageConverters property :

which is lazily loaded to all beans matching type HttpMessageConverter

this.defaultMessageConverters = beansOfType(context, HttpMessageConverter.class);

However there is also a bean defined:

that I think should be used instead. The property isn't necessary and circumvents application wide customization of the message converters present in the bean:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions