Closed hymccord closed 1 year ago
Running the DryIoc samples results in the following
System.InvalidOperationException: 'No service for type 'MediatR.IMediator' has been registered.'
The addition of the second constructor in https://github.com/jbogard/MediatR/commit/838a8e12b62ee95f2f1caa503d282a8d9bce6047 breaks the default DryIoc container. It doesn't resolve classes with multiple ctors by default.
I have submitted a PR to fix this.
See #881
Running the DryIoc samples results in the following
The addition of the second constructor in https://github.com/jbogard/MediatR/commit/838a8e12b62ee95f2f1caa503d282a8d9bce6047 breaks the default DryIoc container. It doesn't resolve classes with multiple ctors by default.
I have submitted a PR to fix this.