Skip to content

Merge pull request #13 from Nikoo-Asadnejad/develop #39

Merge pull request #13 from Nikoo-Asadnejad/develop

Merge pull request #13 from Nikoo-Asadnejad/develop #39

Triggered via push September 27, 2024 08:33
Status Failure
Total duration 37s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 5 warnings
build: GenericRepository/Application/Abstractions/BaseRepository.cs#L8
Using the generic type 'IUnitOfWork<TContext>' requires 1 type arguments
build: GenericRepository/Application/Abstractions/BaseRepository.cs#L9
Using the generic type 'IUnitOfWork<TContext>' requires 1 type arguments
build: GenericRepository/Application/Abstractions/BaseRepository.cs#L8
Using the generic type 'IUnitOfWork<TContext>' requires 1 type arguments
build: GenericRepository/Application/Abstractions/BaseRepository.cs#L9
Using the generic type 'IUnitOfWork<TContext>' requires 1 type arguments
build
Process completed with exit code 1.
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/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.