You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed a TODO in the ParsingUtils class mentioning that the current approach for retrieving the class name of KeyNames when using the merge method could use some improvement.
I believe I've found a solution and created a PR with the changes.
The solution involves replacing the regex pattern usage with AST parsing, similar to how we retrieve expressions, and I think the overall consistency of the class has improved. The existing functionality remains unchanged, and all tests have passed, including those in my example project. Additionally, I've added a new test case to ensure everything works with nested KeyNames.