Open GooRiOn opened 6 years ago
Sounds cool. I can take this one :)
Nice!
Actually, we are targetting for .NET Core (right?) why don't we use built-in dependency resolver and simplify to
Configure(IServiceCollection services)
{
services.AddValit();
}
Thanks to this, we would be able to ignore existance of all DI frameworks. Tell me if I'm wrong :)
Would be cool to create an integration package for Autofac. There are lot's of thing that we could add here so hesitate to add something in the comments ;) The simplest integration would be:
Calling that we would look through the assembly and register all valitators as singletons.