Skip to content

Bump MxIO.ApiClient and MxIO.ApiClient.Abstractions in /src #115

Bump MxIO.ApiClient and MxIO.ApiClient.Abstractions in /src

Bump MxIO.ApiClient and MxIO.ApiClient.Abstractions in /src #115

Status Failure
Total duration 2m 9s
Artifacts

codequality.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
code-scanning: src/repository-webapi/Program.cs#L86
The call is ambiguous between the following methods or properties: 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.AddAutoMapper(Microsoft.Extensions.DependencyInjection.IServiceCollection, params System.Reflection.Assembly[])' and 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.AddAutoMapper(Microsoft.Extensions.DependencyInjection.IServiceCollection, params System.Reflection.Assembly[])'
code-scanning: src/repository-webapi/Program.cs#L86
The call is ambiguous between the following methods or properties: 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.AddAutoMapper(Microsoft.Extensions.DependencyInjection.IServiceCollection, params System.Reflection.Assembly[])' and 'Microsoft.Extensions.DependencyInjection.ServiceCollectionExtensions.AddAutoMapper(Microsoft.Extensions.DependencyInjection.IServiceCollection, params System.Reflection.Assembly[])'
code-scanning
Process completed with exit code 1.
code-scanning: src/repository-webapi-client/RepositoryApiClient.cs#L7
Constructor has 17 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
code-scanning: src/repository-webapi/Controllers/UserProfileController.cs#L56
Possible null reference argument for parameter 'result' in 'ApiResponseDto<UserProfileDto>.ApiResponseDto(HttpStatusCode statusCode, UserProfileDto result)'.
code-scanning: src/repository-webapi/Controllers/UserProfileController.cs#L79
Possible null reference argument for parameter 'result' in 'ApiResponseDto<UserProfileDto>.ApiResponseDto(HttpStatusCode statusCode, UserProfileDto result)'.
code-scanning: src/repository-webapi/Controllers/UserProfileController.cs#L102
Possible null reference argument for parameter 'result' in 'ApiResponseDto<UserProfileDto>.ApiResponseDto(HttpStatusCode statusCode, UserProfileDto result)'.
code-scanning: src/repository-webapi/Controllers/UserProfileController.cs#L126
Possible null reference argument for parameter 'result' in 'ApiResponseDto<UserProfileDto>.ApiResponseDto(HttpStatusCode statusCode, UserProfileDto result)'.
code-scanning: src/repository-webapi/Controllers/UserProfileController.cs#L162
Nullability of reference types in value of type 'List<UserProfileDto?>' doesn't match target type 'List<UserProfileDto>'.
code-scanning: src/repository-webapi/Controllers/AdminActionsController.cs#L58
Possible null reference argument for parameter 'result' in 'ApiResponseDto<AdminActionDto>.ApiResponseDto(HttpStatusCode statusCode, AdminActionDto result)'.
code-scanning: src/repository-webapi/Controllers/AdminActionsController.cs#L94
Nullability of reference types in value of type 'List<AdminActionDto?>' doesn't match target type 'List<AdminActionDto>'.
code-scanning: src/repository-webapi/Controllers/UserProfileController.cs#L201
Argument of type 'List<UserProfile?>' cannot be used for parameter 'entities' of type 'IEnumerable<UserProfile>' in 'Task DbSet<UserProfile>.AddRangeAsync(IEnumerable<UserProfile> entities, CancellationToken cancellationToken = default(CancellationToken))' due to differences in the nullability of reference types.
code-scanning: src/repository-webapi/Controllers/BanFileMonitorsController.cs#L57
Possible null reference argument for parameter 'result' in 'ApiResponseDto<BanFileMonitorDto>.ApiResponseDto(HttpStatusCode statusCode, BanFileMonitorDto result)'.