test: fix Mongo Repository Unit tests. #53
liquid-ci-cd-repository-mongodb.yml
on: pull_request
call-reusable-build-workflow
/
build
5m 12s
Annotations
1 error and 13 warnings
|
call-reusable-build-workflow / build
Process completed with exit code 1.
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L90
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L99
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L73
Await SingleOrDefaultAsync instead. (https://rules.sonarsource.com/csharp/RSPEC-6966)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L82
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L72
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L62
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/MongoRepository.cs#L53
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/Exceptions/MongoEntitySettingsDoesNotExistException.cs#L14
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'MongoEntitySettingsDoesNotExistException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/IMongoDataContext.cs#L11
'TEntity' is not used in the interface. (https://rules.sonarsource.com/csharp/RSPEC-2326)
|
|
call-reusable-build-workflow / build:
src/Liquid.Repository.Mongo/IMongoDataContext.cs#L39
XML comment has cref attribute 'MongoDatabaseBase' that could not be resolved
|
|
call-reusable-build-workflow / build
.NET 6.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
|
|
call-reusable-build-workflow / build
.NET 5.0 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
|
|
call-reusable-build-workflow / build
.NET Core 3.1 is no longer supported and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the .NET support policy.
|