Skip to content

Commit

Permalink
Merge pull request #3510 from iozcelik/main
Browse files Browse the repository at this point in the history
Tilda added to SpelledOutSymbols #3500
  • Loading branch information
baywet authored Oct 19, 2023
2 parents f530673 + dee8ce2 commit 3f35b41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changes to the configuration of RequestInformation are preserved instead of being overwritten. [#3401](https://github.com/microsoft/kiota/pull/3401).
- Fix bug where import statements in typescript wasn't using import type notation for types that are erased at runtime. [#3190](https://github.com/microsoft/kiota/issues/3190)
- The structured content type generation parameter now supports prioritization with `q=value` syntax. [#3377](https://github.com/microsoft/kiota/issues/3377)
- Fixed bug where `Tilde` char convert to Enum member name properly in C#. [#3500](https://github.com/microsoft/kiota/issues/3500)

## [1.7.0] - 2023-10-05

Expand Down
1 change: 1 addition & 0 deletions src/Kiota.Builder/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ public static string CleanupSymbolName(this string? original)
{'=', "Equal"},
{'>', "GreaterThan"},
{'?', "QuestionMark"},
{'~', "Tilde" },
};

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void NamesDontDiffer_DoesntWriteEnumMember()
[InlineData("\\", "BackSlash")]
[InlineData("?", "QuestionMark")]
[InlineData("$", "Dollar")]
[InlineData("~", "Tilde")]
[InlineData("double", "Double")]
[InlineData("string", "String")]
[InlineData("Invalid lorem’s", "InvalidLoremS")]
Expand Down

0 comments on commit 3f35b41

Please sign in to comment.