Skip to content

Merge pull request #15 from Nikoo-Asadnejad/develop #43

Merge pull request #15 from Nikoo-Asadnejad/develop

Merge pull request #15 from Nikoo-Asadnejad/develop #43

Triggered via push September 27, 2024 08:43
Status Success
Total duration 48s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-dotnet@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
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/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).
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L8
Non-nullable property 'OldValue' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L10
Non-nullable property 'NewValue' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L12
Non-nullable property 'RelatedEntityId' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: GenericRepository/Domain/Entities/ChangeHistoryEntity.cs#L14
Non-nullable property 'RelatedEntityType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
build: GenericRepository/Infrastructure/Repository/GenericRepository/Query/QueryGenericRepository.Async.cs#L51
Possible null reference argument for parameter 'predicate' in 'IQueryable<T> Queryable.Where<T>(IQueryable<T> source, Expression<Func<T, bool>> predicate)'.
build: GenericRepository/Infrastructure/Repository/GenericRepository/Query/QueryGenericRepository.Async.cs#L32
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.