add necessary modules to new zero
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace zero.Validation;
|
||||
|
||||
internal class ZeroValidationModule : ZeroModule
|
||||
{
|
||||
public override void ConfigureServices(IServiceCollection services, IConfiguration configuration)
|
||||
{
|
||||
services.AddScoped(typeof(IZeroMergedValidator<>), typeof(ZeroMergedValidator<>));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user