feat: Add support for composed types in Typescript #10764
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
2m 31s
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/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/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/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/Refiners/TypeScriptRefiner.cs#L342
Remove this unused method parameter 'composedType'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
|
Build:
src/Kiota.Builder/Refiners/TypeScriptRefiner.cs#L366
Remove this unused method parameter 'composedType'. (https://rules.sonarsource.com/csharp/RSPEC-1172)
|
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/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/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)
|