Skip to content

RepositoryRestMvcConfiguration should use defaultMessageConverters in extendHandlerExceptionResolvers #2431

Open

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:

Activity

  1. rajp33 commented on Nov 7, 2024

    @rajp33
    Author

    Should be a very small PR, happy to submit if needed :)

  2. rajp33 commented on Nov 16, 2024

    @rajp33
    Author

    @odrotbohm let me know what you think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions