This pull request involves several changes aimed at cleaning up unused using directives and adding global using directives to the GlobalUsings.cs file. Below is a summary of the most important changes:
Removal of Unused using Directives:
src/Domain/Common/Base/AggregateRoot.cs: Removed unused using directives (SSW.CleanArchitecture.Domain.Common.Interfaces and System.ComponentModel.DataAnnotations.Schema).
src/Domain/Heroes/PowerLevelUpdatedEvent.cs: Removed unused using directives (ErrorOr, SSW.CleanArchitecture.Domain.Common.EventualConsistency, and SSW.CleanArchitecture.Domain.Common.Interfaces).
> 1. What triggered this change? (PBI link, Email Subject, conversation + reason, etc)
https://github.com/SSWConsulting/SSW.CleanArchitecture/issues/338
This pull request involves several changes aimed at cleaning up unused
using
directives and adding global using directives to theGlobalUsings.cs
file. Below is a summary of the most important changes:Removal of Unused
using
Directives:src/Domain/Common/Base/AggregateRoot.cs
: Removed unusedusing
directives (SSW.CleanArchitecture.Domain.Common.Interfaces
andSystem.ComponentModel.DataAnnotations.Schema
).src/Domain/Common/Base/Auditable.cs
: Removed unusedusing
directive (SSW.CleanArchitecture.Domain.Common.Interfaces
).src/Domain/Common/EventualConsistency/EventualConsistencyError.cs
: Removed unusedusing
directive (ErrorOr
).src/Domain/Common/EventualConsistency/EventualConsistencyException.cs
: Removed unusedusing
directive (ErrorOr
).src/Domain/Heroes/Hero.cs
: Removed unusedusing
directive (Vogen
).src/Domain/Heroes/HeroErrors.cs
: Removed unusedusing
directive (ErrorOr
).src/Domain/Heroes/PowerLevelUpdatedEvent.cs
: Removed unusedusing
directives (ErrorOr
,SSW.CleanArchitecture.Domain.Common.EventualConsistency
, andSSW.CleanArchitecture.Domain.Common.Interfaces
).src/Domain/Heroes/TeamByIdSpec.cs
: Removed unusedusing
directive (Ardalis.Specification
).src/Domain/Teams/Mission.cs
: Removed unusedusing
directive (Vogen
).src/Domain/Teams/MissionErrors.cs
: Removed unusedusing
directive (ErrorOr
).src/Domain/Teams/Team.cs
: Removed unusedusing
directive (Vogen
).src/Domain/Teams/TeamByIdSpec.cs
: Removed unusedusing
directive (Ardalis.Specification
).src/Domain/Teams/TeamErrors.cs
: Removed unusedusing
directive (ErrorOr
).src/Infrastructure/Middleware/EventualConsistencyMiddleware.cs
: Removed unusedusing
directives (Microsoft.EntityFrameworkCore.Storage
andSystem.Transactions
).tools/MigrationService/Worker.cs
: Removed unusedusing
directive (OpenTelemetry.Trace
).Addition of Global Using Directives:
src/Domain/GlobalUsings.cs
: Added global using directives forArdalis.Specification
andVogen
.No