Skip to content

Fix serialization and deserialization of composed types in TS #12997

Fix serialization and deserialization of composed types in TS

Fix serialization and deserialization of composed types in TS #12997

Triggered via pull request November 11, 2024 15:04
Status Success
Total duration 3m 2s
Artifacts

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/Kiota.Builder/Refiners/TypeScriptRefiner.cs#L685
Refactor this field to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L227
All 'IsPrimitiveType' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L43
Make 'WriteAutoGeneratedStart' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L49
Make 'WriteAutoGeneratedEnd' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/TypeScript/CodeFunctionWriter.cs#L57
Remove this unused method parameter 'codeElement'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
Build: src/Kiota.Builder/Writers/TypeScript/CodeMethodWriter.cs#L68
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Refiners/TypeScriptRefiner.cs#L685
Refactor this field to reduce its Cognitive Complexity from 21 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L227
All 'IsPrimitiveType' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L43
Make 'WriteAutoGeneratedStart' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
Build: src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L49
Make 'WriteAutoGeneratedEnd' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)