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
Describe the bug
when using the library default, if you register anything that will be used by a command as scoped.
the application crash. with an impossible to resolve configuration error.
this will probably also break typed httpclient.
To Reproduce
Steps to reproduce the behavior:
when using mediator default registration
register a scoped service.
try to use it inside any IRequest object.
Expected behavior
all type of scopes registration should work without changing the default behaviour.
this is especially a concern since it's not an expected behavior, and introduce risk namely to use Typed HttpClient
Screenshots
Additional context
here's a test sample project to reproduce
The text was updated successfully, but these errors were encountered:
It would be nice to re-evaluate the default Lifetime value. It has been set to Singleton for performance reasons. I'm not sure how many projects would be impacted by this change.
Describe the bug
when using the library default, if you register anything that will be used by a command as scoped.
the application crash. with an impossible to resolve configuration error.
this will probably also break typed httpclient.
To Reproduce
Steps to reproduce the behavior:
when using mediator default registration
register a scoped service.
try to use it inside any IRequest object.
Expected behavior
all type of scopes registration should work without changing the default behaviour.
this is especially a concern since it's not an expected behavior, and introduce risk namely to use Typed HttpClient
Screenshots
Additional context
here's a test sample project to reproduce
The text was updated successfully, but these errors were encountered: