jbogard / MediatR.Extensions.Microsoft.DependencyInjection

MediatR extensions for Microsoft.Extensions.DependencyInjection
MIT License
327 stars 89 forks source link

Change default IMediator registration to transient #66

Closed jbogard closed 5 years ago

rayrfan commented 5 years ago

Hi Jimmy, just curious what is the reason for changing scoped to transient? Thanks!

jbogard commented 5 years ago

Turns out there were no benefits, only drawbacks. There’s nothing I need to scope.

On Tue, May 14, 2019 at 10:07 AM Ray Fan notifications@github.com wrote:

Hi Jimmy, just curious what is the reason for changing scoped to transient? Thanks!

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/jbogard/MediatR.Extensions.Microsoft.DependencyInjection/issues/66?email_source=notifications&email_token=AAAZQMRD7GEM5XYY65MLH73PVLITRA5CNFSM4HID2EH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVLZGXY#issuecomment-492278623, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAZQMXCPBRJF7UD5QMVAQLPVLITRANCNFSM4HID2EHQ .