-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that HalConfiguration MediaTypeConfigurationCustomizers are al…
…ways run spring-data-rest is not aware of the existence of MediaTypeConfigurationCustomizer, so it does not apply the configuration when pulling the HalConfiguration bean directly. This leads to the configuration settings in HalConfiguration inconsistently being applied, depending on if a setting is used in spring-hateoas or spring-data-rest. Always applying all customizers directly in a BeanPostProcessor ensures that the HalConfiguration bean itself has all the customizations directly baked-in, and does not require all consumers to be aware of MediaTypeConfigurationCustomizer
- Loading branch information
1 parent
7a8b7bb
commit 4af1c4d
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters