Skip to content

feat: add domain event and its interceptor #23

feat: add domain event and its interceptor

feat: add domain event and its interceptor #23

Triggered via pull request February 25, 2024 09:32
@Nikoo-AsadnejadNikoo-Asadnejad
synchronize #8
develop
Status Success
Total duration 45s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L5
'ChangeHistoryEntity.Id' hides inherited member 'BaseEntity.Id'. Use the new keyword if hiding was intended.
build: GenericRepository/Domain/Entities/OutBoxMessage.cs#L19
'OutBoxMessage.Id' hides inherited member 'BaseEntity.Id'. Use the new keyword if hiding was intended.
build: GenericRepository/Infrastructure/Repository/GenericRepository/Query/QueryGenericRepository.Async.cs#L20
Nullability of reference types in type of parameter 'query' of 'Task<long> QueryGenericRepository<T>.GetCountAsync(Expression<Func<T, bool>> query = null)' doesn't match implicitly implemented member 'Task<long> IQueryGenericRepository<T>.GetCountAsync(Expression<Func<T, bool>>? query = null)' (possibly because of nullability attributes).
build: GenericRepository/Infrastructure/Repository/GenericRepository/Query/QueryGenericRepository.Async.cs#L20
Cannot convert null literal to non-nullable reference type.
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L6
Non-nullable property 'OldValue' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L7
Non-nullable property 'NewValue' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L8
Non-nullable property 'RelatedEntityId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L9
Non-nullable property 'RelatedEntityType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: GenericRepository/Infrastructure/Context/CommandContext.cs#L12
Nullability of reference types in type of parameter 'sender' of 'void CommandContext.TrackChanges(object sender, EntityEntryEventArgs e)' doesn't match the target delegate 'EventHandler<EntityStateChangedEventArgs>' (possibly because of nullability attributes).
build: GenericRepository/Infrastructure/Context/CommandContext.cs#L13
Nullability of reference types in type of parameter 'sender' of 'void CommandContext.TrackChanges(object sender, EntityEntryEventArgs e)' doesn't match the target delegate 'EventHandler<EntityTrackedEventArgs>' (possibly because of nullability attributes).