NOX-1034 Missing Country Codes in the NOX Framework #3765
Annotations
12 errors and 11 warnings
Nox.Types.Tests.Types.CountryNumberTests ► CountryNumber_Constructor_ReturnsSameValue(value: 0):
tests/Nox.Types.Tests/TestResults/test-results.trx#L0
Failed test found in:
tests/Nox.Types.Tests/TestResults/test-results.trx
Error:
Nox.Types.NoxTypeValidationException : The Nox type validation failed with 1 error(s). PropertyName: Value. Error: Could not create a Nox CountryNumber type as value 0 is not allowed.
|
build (8.x):
src/Nox.Yaml/Constants/Constants.cs#L3
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
build (8.x):
src/Nox.Yaml/Exceptions/NoxYamlException.cs#L6
Make this exception 'public'. (https://rules.sonarsource.com/csharp/RSPEC-3871)
|
build (8.x):
src/Nox.Yaml/Exceptions/NoxYamlException.cs#L18
Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766)
|
build (8.x):
src/Nox.Yaml/Exceptions/NoxYamlException.cs#L37
Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766)
|
build (8.x):
src/Nox.Yaml/Schema/Generator/SchemaGenerator.cs#L10
Define a constant instead of using this literal 'array' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
build (8.x):
src/Nox.Yaml/Serialization/VariablesDeserializer.cs#L7
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
build (8.x):
src/Nox.Yaml/Schema/Generator/SchemaProperty.cs#L338
Define a constant instead of using this literal 'string' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
build (8.x):
src/Nox.Yaml/Extensions/TypeExtensions.cs#L62
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
|
build (8.x):
src/Nox.Yaml/Extensions/TypeExtensions.cs#L67
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
|
build (8.x):
src/Nox.Yaml/Attributes/UniqueItemPropertiesAttribute.cs#L36
Use a StringBuilder instead. (https://rules.sonarsource.com/csharp/RSPEC-1643)
|
build (8.x)
Failed test were found and 'fail-on-error' option is set to true
|
build (8.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-java@v3, actions/setup-dotnet@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
build (8.x):
src/Nox.Yaml/Serialization/VariablesDeserializer.cs#L7
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
build (8.x):
src/Nox.Yaml/Constants/Constants.cs#L3
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
|
build (8.x):
src/Nox.Yaml/Schema/Generator/SchemaGenerator.cs#L10
Define a constant instead of using this literal 'array' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
build (8.x):
src/Nox.Yaml/Exceptions/NoxYamlException.cs#L6
Make this exception 'public'. (https://rules.sonarsource.com/csharp/RSPEC-3871)
|
build (8.x):
src/Nox.Yaml/Exceptions/NoxYamlException.cs#L18
Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766)
|
build (8.x):
src/Nox.Yaml/Exceptions/NoxYamlException.cs#L37
Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766)
|
build (8.x):
src/Nox.Yaml/Schema/Generator/SchemaProperty.cs#L338
Define a constant instead of using this literal 'string' 7 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
|
build (8.x):
src/Nox.Yaml/Attributes/UniqueItemPropertiesAttribute.cs#L36
Use a StringBuilder instead. (https://rules.sonarsource.com/csharp/RSPEC-1643)
|
build (8.x):
src/Nox.Yaml/Extensions/TypeExtensions.cs#L62
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
|
build (8.x):
src/Nox.Yaml/Extensions/TypeExtensions.cs#L67
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
|