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

Introduce RuntimeHintsUtils#registerComposableAnnotation #28887

Closed
snicoll opened this issue Jul 29, 2022 · 0 comments
Closed

Introduce RuntimeHintsUtils#registerComposableAnnotation #28887

snicoll opened this issue Jul 29, 2022 · 0 comments
Assignees
Labels
theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Milestone

Comments

@snicoll
Copy link
Member

snicoll commented Jul 29, 2022

Working on #28767 and the use case in Spring Boot revealed that we could use an explicit method to register a composable annotation when we know it is going to be the used with attribute override (@AliasFor). This requires not only the regular annotation hint but also a proxy.

The only way to trigger this is to register a composed annotation (i.e. an annotation using that annotation) but if the underlying code is only using the annotation and not of the composed one, that would register an unnecessary hint.

@snicoll snicoll added type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing labels Jul 29, 2022
@snicoll snicoll added this to the 6.0.0-M6 milestone Jul 29, 2022
@snicoll snicoll self-assigned this Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: aot An issue related to Ahead-of-time processing type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant