Skip to content

feat : upgrade to .NET 9 #124

feat : upgrade to .NET 9

feat : upgrade to .NET 9 #124

Triggered via pull request November 22, 2024 21:05
@iammukeshmiammukeshm
synchronize #1061
dotnet9
Status Failure
Total duration 51s
Artifacts

webapi.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
build: src/api/modules/Todo/Features/GetList/v1/GetTodoListHandler.cs#L18
'GetTodoListRequest' does not contain a definition for 'filter' and no accessible extension method 'filter' accepting a first argument of type 'GetTodoListRequest' could be found (are you missing a using directive or an assembly reference?)
build: src/api/modules/Todo/Features/GetList/v1/GetTodoListHandler.cs#L23
'GetTodoListRequest' does not contain a definition for 'filter' and no accessible extension method 'filter' accepting a first argument of type 'GetTodoListRequest' could be found (are you missing a using directive or an assembly reference?)
build: src/api/modules/Todo/Features/GetList/v1/GetTodoListHandler.cs#L23
'GetTodoListRequest' does not contain a definition for 'filter' and no accessible extension method 'filter' accepting a first argument of type 'GetTodoListRequest' could be found (are you missing a using directive or an assembly reference?)
build: src/api/modules/Todo/Features/GetList/v1/GetTodoListHandler.cs#L18
'GetTodoListRequest' does not contain a definition for 'filter' and no accessible extension method 'filter' accepting a first argument of type 'GetTodoListRequest' could be found (are you missing a using directive or an assembly reference?)
build: src/api/modules/Todo/Features/GetList/v1/GetTodoListHandler.cs#L23
'GetTodoListRequest' does not contain a definition for 'filter' and no accessible extension method 'filter' accepting a first argument of type 'GetTodoListRequest' could be found (are you missing a using directive or an assembly reference?)
build: src/api/modules/Todo/Features/GetList/v1/GetTodoListHandler.cs#L23
'GetTodoListRequest' does not contain a definition for 'filter' and no accessible extension method 'filter' accepting a first argument of type 'GetTodoListRequest' could be found (are you missing a using directive or an assembly reference?)
build
Process completed with exit code 1.
build: src/Shared/Authorization/FshRoles.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
build: src/Shared/Authorization/FshRoles.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
build: src/api/framework/Core/Storage/File/Features/FileUploadValidator.cs#L18
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
build: src/api/framework/Core/Identity/Roles/RoleDto.cs#L8
Change 'Permissions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build: src/api/framework/Core/Identity/Roles/RoleDto.cs#L8
Change 'List<string>' in 'RoleDto.Permissions' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build: src/api/framework/Core/Identity/Roles/Features/UpdatePermissions/UpdatePermissionsCommand.cs#L5
Change 'Permissions' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build: src/api/framework/Core/Identity/Roles/Features/UpdatePermissions/UpdatePermissionsCommand.cs#L5
Change 'List<string>' in 'UpdatePermissionsCommand.Permissions' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)
build: src/api/framework/Core/Paging/PaginationFilter.cs#L8
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
build: src/api/framework/Core/Paging/Search.cs#L5
Change 'Fields' to be read-only by removing the property setter (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2227)
build: src/api/framework/Core/Paging/Search.cs#L5
Change 'List<string>' in 'Search.Fields' to use 'Collection<T>', 'ReadOnlyCollection<T>' or 'KeyedCollection<K,V>' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1002)