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
Not everyone needs to like this solution (it's a bit hacky) but it works and once Injector gets some type hints it'll be more static analysis friendly than using Key.
Activity
alecthomas commentedon Oct 24, 2016
Yes, this is possible.
tadas-subonis commentedon Oct 25, 2016
Thanks
On Mon, Oct 24, 2016 at 2:08 AM, Alec Thomas [email protected]
wrote:
Kind Regards,
Tadas Šubonis
jstasiak commentedon Feb 9, 2017
I'll leave this here for historical visibility - subclassing is another way to achieve what you want:
Result:
Not everyone needs to like this solution (it's a bit hacky) but it works and once Injector gets some type hints it'll be more static analysis friendly than using
Key.