feat(cqrs): add MediatR, AutoMapper and pipeline infrastructure
- Add MediatR 12.5.0, AutoMapper 13.0.1 packages - Create ValidationBehavior (FluentValidation pipeline) - Create LoggingBehavior (structured logging pipeline) - Create MappingProfile with IMapFrom<T> convention - Make ServiceResult properties public for pipeline use - Update Application DI with MediatR + AutoMapper registration
This commit is contained in:
1 parent
31794c86c0
commit
649af93f56
12 files changed
+445
-20
No files matched your search
@@ -28,7 +28,7 @@ public abstract class PostgresTestBase : IAsyncLifetime
|
||||
/// <summary>HTTP client factory connected to the real PostgreSQL Database.</summary>
|
||||
protected HeimdallWebApplicationFactory Factory => _factoryLazy.Value;
|
||||
|
||||
public async Task InitializeAsync()
|
||||
public virtual async Task InitializeAsync()
|
||||
{
|
||||
await ResetDatabaseAsync();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user