Skip to content

Fix bug (#251)#1319

Closed
birdmanmandbir wants to merge 5 commits intogoogle:masterfrom
birdmanmandbir:251issue
Closed

Fix bug (#251)#1319
birdmanmandbir wants to merge 5 commits intogoogle:masterfrom
birdmanmandbir:251issue

Conversation

@birdmanmandbir
Copy link

Solve issue #251 and add corresponding test for it
Scope annotation in ProvidedBy handling should be added before create provided by binding

Solve issue google#251 and add corresponding test for it
Need consider scope annotation in ProvidedBy handling
copybara-service bot pushed a commit that referenced this pull request Apr 21, 2023
…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.

PiperOrigin-RevId: 525525327
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants