-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Improve Enum Substring Alias Handling (#1098)
## Summary: This pull request introduces improvements to the handling of enum substring aliases in the deserializer. The update modifies the string match strategy to favor the longest substring match, enhancing the accuracy and robustness of enum alias recognition. ## Changes - Updated the string match strategy in the deserializer to prioritize the longest substring match for enum aliases. ## Benefits - Improved handling of enum aliases, reducing potential mismatches. - - Enhances overall functionality and user experience when working with enums. Related Issue: #1085 --------- Co-authored-by: Vaibhav Gupta <[email protected]> Co-authored-by: Antonio Sarosi <[email protected]>
- Loading branch information
1 parent
23e590b
commit 0c5cbd4
Showing
4 changed files
with
112 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters