feat(infrastructure): ProductPriceRepository Dapper + SP invocation (PRD-003)

This commit is contained in:
2026-04-19 18:15:30 -03:00
parent 4b0567d252
commit 2d2e90fa3c
3 changed files with 289 additions and 3 deletions

View File

@@ -43,6 +43,8 @@ public static class DependencyInjection
services.AddScoped<IProductRepository, ProductRepository>();
// PRD-002: replaces NullProductQueryRepository from Application DI
services.AddScoped<IProductQueryRepository, ProductQueryRepository>();
// PRD-003: ProductPrices históricos
services.AddScoped<IProductPriceRepository, ProductPriceRepository>();
// JWT Options — bound lazily via IOptions so tests can override via ConfigureWebHost
services.Configure<JwtOptions>(configuration.GetSection("Jwt"));