evolutionary-architecture / evolutionary-architecture-by-example

Navigate the complex landscape of .NET software architecture with our step-by-step, story-like guide. Unpack the interplay between modular monoliths, microservices, domain-driven design, and various architectural patterns. Go beyond the one-size-fits-all solutions and understand how to blend these approaches based on your unique needs.
MIT License
1.66k stars 212 forks source link

SignContract.Events.ContractSignedEvent Event Handler Exception #96

Closed kamilbaczek closed 7 months ago

kamilbaczek commented 7 months ago

Describe the bug

There is an exception during using the app

System.Collections.Generic.IEnumerable1[MediatR.INotificationHandler1[EvolutionaryArchitecture.Fitnet.Contracts.SignContract.Events.ContractSignedEvent]]' from root provider because it requires scoped service 'EvolutionaryArchitecture.Fitnet.Passes.Data.Database.PassesPersistence