-
Feature Request
-
Resolution: Done
-
Minor
-
1.0.0-alpha-11
-
None
-
Low
My intuition tells me that addServiceProvider should add the service provider classes I specify to the archive. To my surprise, it does not. I can't see any scenario in which you specify a service provider for a class that isn't in the archive. For the edge case, you could always extract it manually after the call to addServiceProvider.
Currently:
addClass(MyServiceImpl.class).addServiceProvider(Service.class, MyServiceImpl.class)
Proposed:
addServiceProvider(Service.class, MyServiceImpl.class)