Skip to content

Add ifPresent utility methods on RuntimeHints #28617

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
snicoll opened this issue Jun 14, 2022 · 0 comments
Closed

Add ifPresent utility methods on RuntimeHints #28617

snicoll opened this issue Jun 14, 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 Jun 14, 2022

Based on concrete usage of the API, it looks like a registerIfPresent would be a nice addition to the API. This makes sure hints aren't contributed for things that aren't available.

@snicoll snicoll added type: enhancement A general enhancement theme: aot An issue related to Ahead-of-time processing labels Jun 14, 2022
@snicoll snicoll added this to the 6.0.0-M5 milestone Jun 14, 2022
@snicoll snicoll self-assigned this Jun 14, 2022
@snicoll snicoll changed the title Add ifPresent utility method on RuntimeHints Add ifPresent utility methods on RuntimeHints Jun 14, 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