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

Add new "DynamicAccess" Annotation for RR #250

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

AntonOellerer
Copy link
Contributor

To allow the ReflectionResolver to resolve objects dynamically (meaning that they could not be resolved at compilation time), a new DynamicAccessPlaceholder Annotation is added. Methods annotated by it return an Optional<Object>, which is then used by the resolver to create a new PlaceholderData for further resolving.

@AntonOellerer AntonOellerer added the enhancement New feature or request label May 22, 2024
@AntonOellerer AntonOellerer requested a review from alexpartsch May 22, 2024 09:07
@AntonOellerer AntonOellerer self-assigned this May 22, 2024
@AntonOellerer AntonOellerer force-pushed the feature/dynamic-access branch from c565900 to 686112e Compare May 22, 2024 09:09
To allow the `ReflectionResolver` to resolve objects dynamically
(meaning that they could not be resolved at compilation time),
a new `DynamicAccessPlaceholder` Annotation is added.
Methods annotated by it return an `Optional<Object>`, which is
then used by the resolver to create a new `PlaceholderData` for
further resolving.
@AntonOellerer AntonOellerer force-pushed the feature/dynamic-access branch from 686112e to 7bd6aed Compare May 22, 2024 09:14
@alexpartsch alexpartsch merged commit 4ae1019 into main May 22, 2024
@alexpartsch alexpartsch deleted the feature/dynamic-access branch May 22, 2024 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants