You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested this out on version 5.0.2 and it works well with Scala traits now.
The trait I used is one I wrote myself and does not extend any other trait. The inject class also only extends this one trait. Haven't tested with more complex traits.
Suppose you've a trait that you will implement in child classes -
Given this injections
and calling them with
val map = injector.instance[im.Map[String, AppMessage]]
throws not found exception.Need to support
traits
The text was updated successfully, but these errors were encountered: