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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in 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