From a7facb3b9650b9925f1e0c012590da24c2fd0295 Mon Sep 17 00:00:00 2001 From: koros Date: Wed, 15 May 2024 13:40:36 +0300 Subject: [PATCH 1/2] use uniform naming before hashing the colliding names --- src/Kiota.Builder/Refiners/TypeScriptRefiner.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Kiota.Builder/Refiners/TypeScriptRefiner.cs b/src/Kiota.Builder/Refiners/TypeScriptRefiner.cs index 6ef8b678b6..c0816baae7 100644 --- a/src/Kiota.Builder/Refiners/TypeScriptRefiner.cs +++ b/src/Kiota.Builder/Refiners/TypeScriptRefiner.cs @@ -468,7 +468,7 @@ private static void AliasCollidingSymbols(IEnumerable usings, HashSet .Name + usingElement.Declaration ?.TypeDefinition - ?.Name) + ?.Name.ToFirstCharacterUpperCase()) .GetNamespaceImportSymbol() .ToFirstCharacterUpperCase(); } From e8d82fade90f1eec703123d82c0831fb8040f6ca Mon Sep 17 00:00:00 2001 From: koros Date: Wed, 15 May 2024 13:44:28 +0300 Subject: [PATCH 2/2] update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7765008e57..801b383df0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed a bug where some allOf scenarios would be missing properties if type object wasn't set on the schema. [#4074](https://github.com/microsoft/kiota/issues/4074) - Fixed a bug where schema with multiple allOf entries would incorrectly get merged to inherit from the first entry [#4428] (https://github.com/microsoft/kiota/issues/4428) - Fixes constructor generation for nullable properties that are initialized as null in C#,Java and PHP +- Fixed a bug where the hash alias in typescript wasn't being generated uniformly for similar interfaces [#84](https://github.com/microsoftgraph/msgraph-beta-sdk-typescript/issues/84) ## [1.14.0] - 2024-05-02