Skip to content

Add ability to customize ObjectMapper for HAL types. #1383

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

Closed
wants to merge 2 commits into from

Conversation

gregturn
Copy link
Contributor

No description provided.

Use HalConfiguration to allow applying customizations to the ObjectMapper.
@gregturn gregturn requested a review from odrotbohm October 27, 2020 18:10
odrotbohm pushed a commit that referenced this pull request Oct 27, 2020
Use HalConfiguration to allow applying customizations to the ObjectMapper.

Original pull request: #1383.
odrotbohm added a commit that referenced this pull request Oct 27, 2020
Let HalForms register a custom ObjectMapper customizer to allow separate customizations. If HAL and HAL Forms are supposed to be customized the same way, the same customizer can be registered on both instances. Tweak the application of the customizer to happen inside the configuration classes, not on the outside.

Prepare HalFormsConfiguration to become a fully immutable type in 1.3. Javadoc and assertion polish.

Original pull request: #1383.
@odrotbohm odrotbohm closed this Oct 27, 2020
@odrotbohm odrotbohm deleted the issue/HATEOAS-1382 branch October 27, 2020 19:35
@toedter
Copy link

toedter commented Oct 28, 2020

Thx, aligned the implementation for JSON:API with this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants