Aligns Enum serialization across packages and pass relevant JsonWriterOptions from the KiotaJsonSerializationContext #561
Annotations
10 warnings
src/abstractions/Helpers/EnumHelpers.cs#L26
All 'GetEnumValue' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
src/abstractions/Helpers/EnumHelpers.cs#L26
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
src/abstractions/Helpers/EnumHelpers.cs#L110
Handle the exception or explain in a comment why it can be ignored. (https://rules.sonarsource.com/csharp/RSPEC-2486)
|
src/abstractions/Helpers/EnumHelpers.cs#L82
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
src/abstractions/Helpers/EnumHelpers.cs#L110
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
|
src/abstractions/Helpers/EnumHelpers.cs#L26
All 'GetEnumValue' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
src/abstractions/Helpers/EnumHelpers.cs#L26
Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
src/abstractions/Helpers/EnumHelpers.cs#L110
Handle the exception or explain in a comment why it can be ignored. (https://rules.sonarsource.com/csharp/RSPEC-2486)
|
src/abstractions/Helpers/EnumHelpers.cs#L82
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
src/abstractions/Helpers/EnumHelpers.cs#L110
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
|
This job succeeded
Loading