Skip to content

Add a way to do dynamic validation with fluentvalidations #77

Add a way to do dynamic validation with fluentvalidations

Add a way to do dynamic validation with fluentvalidations #77

Triggered via push May 9, 2024 11:08
Status Success
Total duration 2m 41s
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/AddJobs.cs#L31
'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#L33
'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#L42
'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.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)
build: CleanAspCore/Features/Jobs/Endpoints/AddJobs.cs#L31
'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#L33
'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#L42
'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.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)