Features/exceptions pipeline integration (#308)

This commit is contained in:
Aaron Po
2026-09-12 16:24:14 -04:00
committed by GitHub
parent 78d0eaa739
commit 3793fca65e
11 changed files with 238 additions and 8 deletions

View File

@@ -46,6 +46,7 @@ internal static class ServiceCollectionExtensions
cfg.RegisterServicesFromAssembly(typeof(UploadPhotoCommand).Assembly);
cfg.RegisterServicesFromAssembly(typeof(IEmailDispatcher).Assembly);
cfg.RegisterServicesFromAssembly(typeof(CityController).Assembly);
cfg.AddOpenBehavior(typeof(UnhandledExceptionLoggingBehavior<,>));
cfg.AddOpenBehavior(typeof(ValidationBehavior<,>));
});