Skip to content

feat: Add support for composed types in Typescript #10677

feat: Add support for composed types in Typescript

feat: Add support for composed types in Typescript #10677

Triggered via pull request May 17, 2024 13:10
Status Success
Total duration 2m 59s
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/Writers/TypeScript/CodeComposedTypeBaseWriter.cs#L28
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Writers/TypeScript/CodeFunctionWriter.cs#L65
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Refiners/TypeScriptRefiner.cs#L130
Define a constant instead of using this literal 'ParseNode' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: src/Kiota.Builder/Writers/TypeScript/CodeConstantWriter.cs#L40
Define a constant instead of using this literal 'Original CodeElement cannot be null' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L134
Define a constant instead of using this literal 'string' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)
Build: src/Kiota.Builder/CodeDOM/CodeMethod.cs#L351
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
Build: src/Kiota.Builder/Writers/TypeScript/CodeConstantWriter.cs#L87
Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Kiota.Builder/Writers/TypeScript/CodeComposedTypeBaseWriter.cs#L28
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Writers/TypeScript/CodeFunctionWriter.cs#L65
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Kiota.Builder/Refiners/TypeScriptRefiner.cs#L130
Define a constant instead of using this literal 'ParseNode' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192)