Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Recognize scoping annotations on concrete types also annotated with @ProvidedBy when using the @ProvidedBy as the provider. #1704

Closed
wants to merge 0 commits into from

Conversation

copybara-service[bot]
Copy link

Recognize scoping annotations on concrete types also annotated with @ProvidedBy when using the @ProvidedBy as the provider.

Notably, this does not change things to allow scoping annotations on interfaces or abstract classes (even though theoretically we could, because the @ProvidedBy will be instantiating it). Scopes on abstract classes|interfaces will still throw an exception about the scope being misplaced.

Fixes #251 and fixes #1319.

@copybara-service copybara-service bot closed this Apr 21, 2023
@copybara-service copybara-service bot deleted the test_525525327 branch April 21, 2023 12:41
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

@ProvidedBy @Singleton doesn't work
0 participants