feat: Add support for composed types in Typescript #12014
Annotations
10 warnings
src/Kiota.Builder/CodeDOM/CodeFile.cs#L35
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
src/Kiota.Builder/CodeDOM/CodeFile.cs#L31
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
|
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)
|
src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L49
Make 'WriteAutoGeneratedEnd' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
src/Kiota.Builder/Writers/TypeScript/TypeScriptConventionService.cs#L43
Make 'WriteAutoGeneratedStart' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
src/Kiota.Builder/CodeDOM/CodeComposedTypeBase.cs#L68
Offload the code that's conditional on this type test to the appropriate subclass and remove the condition. (https://rules.sonarsource.com/csharp/RSPEC-3060)
|
src/Kiota.Builder/CodeDOM/CodeFile.cs#L16
Collection-specific "Exists" method should be used instead of the "Any" extension. (https://rules.sonarsource.com/csharp/RSPEC-6605)
|
src/Kiota.Builder/Writers/TypeScript/CodeMethodWriter.cs#L67
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
src/Kiota.Builder/Writers/TypeScript/CodeConstantWriter.cs#L38
Make 'WriteNavigationMetadataConstant' a static method. (https://rules.sonarsource.com/csharp/RSPEC-2325)
|
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)
|
This job succeeded
Loading