JasperFx / lamar

Fast Inversion of Control Tool and Successor to StructureMap
https://jasperfx.github.io/lamar
MIT License
571 stars 119 forks source link

[Question][Help] Lamar.IoC.LamarException: Cannot build registered instance todoService #259

Closed danijel88 closed 4 years ago

danijel88 commented 4 years ago

Hello, When I call api I'm getting next error:

Lamar.IoC.LamarException: Cannot build registered instance todoService of 'CleanArchitecture.Application.Service.ITodoService':
Dependency new BaseServiceProvider<Todo>(): Cannot fill the dependencies of any of the public constructors
Available constructors:new BaseServiceProvider<CleanArchitecture.Domain.Entities.Todo>(IEntityService<CleanArchitecture.Domain.Entities.Todo> entityService, IUnitOfWorkAsync unitOfWork, ICurrentUser currentUser)
* IEntityService<CleanArchitecture.Domain.Entities.Todo> is not registered within this container and cannot be auto discovered by any missing family policy

You can find my code on next repo: https://github.com/danijel88/CleanArchitecture

Thanks and regards,