refactor(auth): use generic security entities #184
Annotations
1 error and 11 warnings
build
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build:
src/corePackages/Core.CrossCuttingConcerns/Exceptions/Types/NotFoundException.cs#L10
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build:
src/corePackages/Core.CrossCuttingConcerns/Exceptions/Types/BusinessException.cs#L10
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build:
src/corePackages/Core.CrossCuttingConcerns/Exceptions/Types/AuthorizationException.cs#L10
'Exception.Exception(SerializationInfo, StreamingContext)' is obsolete: 'This API supports obsolete formatter-based serialization. It should not be called or extended by application code.' (https://aka.ms/dotnet-warnings/SYSLIB0051)
|
build:
tests/StarterProject.Application.Tests/Features/Auth/Commands/Login/LoginTests.cs#L86
Dereference of a possibly null reference.
|
build:
tests/StarterProject.Application.Tests/Features/Auth/Commands/Login/LoginTests.cs#L95
Dereference of a possibly null reference.
|
build:
tests/StarterProject.Application.Tests/Features/Auth/Commands/Login/LoginTests.cs#L95
Dereference of a possibly null reference.
|
build:
tests/StarterProject.Application.Tests/Features/Auth/Commands/Login/LoginTests.cs#L120
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
build:
tests/StarterProject.Application.Tests/Mocks/Repositories/Auth/MockUserRepository.cs#L43
Converting null literal or possible null value to non-nullable type.
|
build:
tests/StarterProject.Application.Tests/Mocks/Repositories/Auth/MockUserRepository.cs#L45
Converting null literal or possible null value to non-nullable type.
|
build:
tests/StarterProject.Application.Tests/Features/Auth/Commands/Login/LoginTests.cs#L130
Cannot convert null literal to non-nullable reference type.
|