Skip to content

make endpoints more consistent #75

make endpoints more consistent

make endpoints more consistent #75

Triggered via push May 5, 2024 15:31
Status Success
Total duration 52s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
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: CleanAspCore/Features/Jobs/Endpoints/GetJobById.cs#L11
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: CleanAspCore/Features/Jobs/Endpoints/AddJobs.cs#L30
'AddJobs.CreateJobRequestValidator' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
build: CleanAspCore/Features/Departments/Endpoints/AddDepartments.cs#L32
'AddDepartments.CreateDepartmentRequestValidator' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
build: CleanAspCore/Features/Employees/Endpoints/AddEmployee.cs#L41
'AddEmployee.CreateEmployeeRequestValidator' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
build: CleanAspCore/Features/Jobs/Endpoints/AddJobs.cs#L30
Type 'CreateJobRequestValidator' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build: CleanAspCore/Features/Departments/Endpoints/AddDepartments.cs#L32
Type 'CreateDepartmentRequestValidator' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build: CleanAspCore/Features/Employees/Endpoints/AddEmployee.cs#L41
Type 'CreateEmployeeRequestValidator' can be sealed because it has no subtypes in its containing assembly and is not externally visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1852)
build: CleanAspCore.Api.Tests/TestSetup/PostgreSqlMigrator.cs#L26
For improved performance, use the LoggerMessage delegates instead of calling 'LoggerExtensions.LogInformation(ILogger, string?, params object?[])' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1848)
build: CleanAspCore.Api.Tests/Data/MigrationTests.cs#L50
'MigrationTests.MigrationTestCases' is an internal class that is apparently never instantiated. If so, remove the code from the assembly. If this class is intended to contain only static members, make it 'static' (Module in Visual Basic). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1812)
build: CleanAspCore.Api.Tests/TestSetup/Utils.cs#L3
The type name Utils conflicts in whole or in part with the namespace name 'CleanAspCore.Utils'. Change either name to eliminate the conflict. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1724)