codingwell / scala-guice

Scala extensions for Google Guice
Apache License 2.0
341 stars 44 forks source link

Add provider to InjectorExtensions #90

Closed GalLalouche closed 4 years ago

GalLalouche commented 4 years ago

Guice's Injector has a Provider<T> getProvider(Class<T> type) method. It would be nice if InjectorExtensions would have a provider[T: Manifest]: Provider[T] method, similar to its instance[T: Manifest]: T methods.

tsuckow commented 4 years ago

91 is in 4.2.10