appium / ruby_lib_core

Core library for the Ruby client
Apache License 2.0
31 stars 24 forks source link

fix: keep the legacy behavior partially, showing a warning message instead for now #414

Closed KazuCocoa closed 1 year ago

KazuCocoa commented 1 year ago

https://github.com/appium/ruby_lib/issues/945

They have a case what gives caps and appium_lib as string. I expected they were Symbols, but previously they could be String. The removed method converted string to symbol implicitly, so it worked.

This behavior is unexpected right now, so this PR start showing deprecation message while keeping the conversion behavior for the top level keys.