fix migrations #131
Annotations
20 warnings
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/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/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/Domain/BaseEntity.cs#L12
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
build:
src/api/framework/Core/Exceptions/CustomException.cs#L7
Change 'List<string>' in 'CustomException.ErrorMessages' 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)
|
publish:
src/Shared/Authorization/FshRoles.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
publish:
src/Shared/Authorization/FshRoles.cs#L10
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0300)
|
publish:
src/api/framework/Core/Storage/File/Features/FileUploadValidator.cs#L18
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
publish:
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)
|
publish:
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)
|
publish:
src/api/framework/Core/Domain/BaseEntity.cs#L12
Collection initialization can be simplified (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0028)
|
publish:
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)
|
publish:
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)
|
publish:
src/api/framework/Core/Paging/PaginationFilter.cs#L8
Properties should not return arrays (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1819)
|
publish:
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)
|