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
/usr/local/bundle/ruby/2.7.0/gems/dry-view-0.7.1/lib/dry/view.rb:36:in `<module:Dry>' [dry-configurable] default value as positional argument to settings is deprecated and will be removed in the next major version
Provide a `default:` keyword argument instead
/usr/local/bundle/ruby/2.7.0/gems/dry-view-0.7.1/lib/dry/view.rb:36:in `<module:Dry>' [dry-configurable] passing a constructor as a block is deprecated and will be removed in the next major version
Provide a `constructor:` keyword argument instead
For the latter, keyword arguments are now needed instead of passing a block, e.g. here
The text was updated successfully, but these errors were encountered:
Hey @ZimbiX! dry-view development has essentially moved over to hanami/view, but I'd be more than happy to cut a release with these dry-configurable deprecations addressed, if you're OK to submit a PR here based on hanami/view#190 😄
Hiya @timriley =) Ah ha; thanks for the heads up. The changes do look straightforward, and I did consider making them myself. But if this isn't going to keep up with future changes in dry-rb, it might be better that we switch. Hmm, I'll look into it and have a think about what would be the best approach for us.
I'm seeing warnings, as it appears dry-configurable deprecated a couple of things without dry-view having been updated.
For the latter, keyword arguments are now needed instead of passing a block, e.g. here
The text was updated successfully, but these errors were encountered: