Closed bkuhlmann closed 1 year ago
The issue was fixed on #447 and will be soon on the next release, @bkuhlmann .
Hey Espartaco, thanks! I was searching through issues and didn't see this mentioned but didn't search through closed pull requests. Good to know and looking forward to the next release. :bow:
Describe the bug
Hello. :wave: I'm seeing the following warnings when using Dry Schema with Ruby 3.2.0 RC1:
To Reproduce
The quickest way to reproduce is to install Ruby 3.2.0 RC1 using your favorite Ruby Version Manager or you can use my latest Docker image which is running Ruby 3.2.0 with YJIT. Then you can run the following code snippet:
Expected behavior
I'd like to not see the warnings being printed. To fix -- at least when tinkering locally -- I deleted
ruby2_keywords
lines from the following files to fix the problem:Because Dry Schema is using argument forwarding, it would be simple enough to delete use of
ruby2_keywords
if you are willing to release a version that supports Ruby 3.2.0 or higher. It might be possible to use a minimum version of Ruby 3.1.x but not sure (have not tested on 3.1 or 3.0).My environment