v.22.2Improvement
Functions dictGet and dictHas Implicitly Cast Key Argument to Dictionary Key Structure
FunctionsdictGet,dictHasimplicitly cast key argument to dictionary key structure, if they are different. #33672 (Maksim Kita).
Why it matters
This feature improves usability by automatically converting the key arguments to the expected dictionary key format, preventing type mismatch errors and making dictionary lookups more flexible and convenient for users.How to use it
Users can continue usingdictGet and dictHas functions as usual; the key argument will be implicitly cast to the dictionary key structure if necessary without requiring manual type conversion.