Skip to content

Release 1.0.38

Latest

Choose a tag to compare

@bvdcode bvdcode released this 26 Oct 20:22
Refactor TryMatchMethod for clarity and efficiency

Refactored the `TryMatchMethod` function to improve readability and performance by introducing a fast path for parameterless methods and delegating complex logic to a new helper method `TryExtractArgsFromParts`. The new helper method handles command part matching, placeholder resolution, and type conversion. Updated comments for better maintainability.