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

AOT reflection metadata missing for EntityModel.MapSuppressingUnwrappingSerializer #1983

Closed
odrotbohm opened this issue Jun 25, 2023 · 0 comments
Assignees
Labels
in: core Core parts of the project stack: aot/native AOT / GraalVM integration type: bug
Milestone

Comments

@odrotbohm
Copy link
Member

Backport of #1981.

@odrotbohm odrotbohm added type: bug in: core Core parts of the project stack: aot/native AOT / GraalVM integration labels Jun 25, 2023
@odrotbohm odrotbohm added this to the 2.0.5 milestone Jun 25, 2023
@odrotbohm odrotbohm self-assigned this Jun 25, 2023
odrotbohm added a commit that referenced this issue Jun 25, 2023
…EntityModel.

We now register reflection hints for all types contained in EntityModel, so that MapSuppressingUnwrappingSerializer's default constructor can be called from Jackson.

Original ticket: #1981
Related ticket: spring-projects/spring-boot#36057
@odrotbohm odrotbohm reopened this Jun 25, 2023
odrotbohm added a commit that referenced this issue Jun 26, 2023
The reflection configuration of core Spring HATEOAS types is now done via HateoasRuntimeHints (previously RepresentationModelRuntimeHints). This allows the configuration to be contributed, even without @EnableHypermediaSupport in play, especially helpful in Web.fn scenarios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Core parts of the project stack: aot/native AOT / GraalVM integration type: bug
Projects
None yet
Development

No branches or pull requests

1 participant