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
ServiceWithDependency (Singleton) depends on ILogger (Transient).
Although technically correct, this message is really confusing for the user, because ILogger is registered as Singleton. So instead, the message should rather be something like this:
ServiceWithDependency (Singleton) depends on ILogger implemented by LoggerDecorator (Transient).
The text was updated successfully, but these errors were encountered:
The following code:
Produces an exception with the following message:
Although technically correct, this message is really confusing for the user, because
ILogger
is registered asSingleton
. So instead, the message should rather be something like this:The text was updated successfully, but these errors were encountered: