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
{{ message }}
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.
Ran into this when I accidentally did services.AddTransient<IFoo, IFoo>() and then had another class ctor public Ctor(IFoo foo). DI throws a Null ref deep inside of trying to invoke the ctor instead of a useful error message that was swallowed (cannot create an instance of an interface)
The text was updated successfully, but these errors were encountered:
Ran into this when I accidentally did
services.AddTransient<IFoo, IFoo>()
and then had another class ctorpublic Ctor(IFoo foo)
. DI throws a Null ref deep inside of trying to invoke the ctor instead of a useful error message that was swallowed (cannot create an instance of an interface)The text was updated successfully, but these errors were encountered: