Aligns Enum serialization across packages and pass relevant JsonWriterOptions from the KiotaJsonSerializationContext #561
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
3m 54s
Annotations
10 warnings
Build:
src/abstractions/Helpers/EnumHelpers.cs#L26
All 'GetEnumValue' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
src/abstractions/Helpers/EnumHelpers.cs#L110
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
|
Build:
src/abstractions/Helpers/EnumHelpers.cs#L26
All 'GetEnumValue' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
Build:
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)
|
Build:
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)
|
Build:
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)
|
Build:
src/abstractions/Helpers/EnumHelpers.cs#L110
Either remove or fill this block of code. (https://rules.sonarsource.com/csharp/RSPEC-108)
|