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

Improve @RegisterReflectionForBinding for enums #31570

Closed
odrotbohm opened this issue Nov 7, 2023 · 0 comments
Closed

Improve @RegisterReflectionForBinding for enums #31570

odrotbohm opened this issue Nov 7, 2023 · 0 comments
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@odrotbohm
Copy link
Member

The processing of types enabled by @RegisterReflectionForBinding currently does not handle enum types explicitly. This causes metadata missing for those types, especially using them in Thymeleaf templates. For example, ….name() cannot be called from such templates.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Nov 7, 2023
@sdeleuze sdeleuze added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Nov 8, 2023
@sdeleuze sdeleuze self-assigned this Nov 8, 2023
@sdeleuze sdeleuze added this to the 6.1.x milestone Nov 8, 2023
@sdeleuze sdeleuze modified the milestones: 6.1.x, 6.1.2 Nov 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants