Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dry configurable update #97

Closed
skliask opened this issue Jun 16, 2022 · 1 comment · Fixed by #98
Closed

Dry configurable update #97

skliask opened this issue Jun 16, 2022 · 1 comment · Fixed by #98
Labels

Comments

@skliask
Copy link

skliask commented Jun 16, 2022

Issue with Dry Configurable

In ruby 3.1 there is this error:
[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

These warnings are probably present because the version of dry-configurable gem that is used, has seen plenty of updates. Possibly an update would fix it.

Not a major issue for the time being, but it polutes the log with many warnings. After the deprecation though, it will render it unusable.

Environment

  • Library version: ruby 3.1.2
  • Language/framework version: Rails 7
  • OS version: macOS 12.4
@mykhi
Copy link

mykhi commented Jul 15, 2022

Same issue when upgrading from ruby 2.4.5 to 2.7.6, so it's not just a 3.x thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants