Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make RepositoryEntityMultipartHttpMessageConverter resolve json HttpMessageConverter when it is being used. #2189

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Nov 5, 2024

  1. Make RepositoryEntityMultipartHttpMessageConverter resolve json HttpM…

    …essageConverter when it is being used.
    
    In spring-data-rest 4.3.5, the logic has changed and now the entity
    class is being passed to `canRead()` and `read()` instead of
    `PersistentEntityResource`.
    
    This means that a different converter can be triggered based on which
    entity is being passed, so we need to select the correct HttpMessageConverter
    at the point when we know the class that is being read.
    This also allows users to configure their own specific
    HttpMessageConverters for their entities.
    vierbergenlars committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    7b90887 View commit details
    Browse the repository at this point in the history