Skip to content

Commit

Permalink
Fix deprecated dry-configurable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley committed Sep 12, 2021
1 parent 5e165d4 commit 3f8f7d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dry/validation/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module Validation
#
# @api public
class Config < Schema::Config
setting :macros, Macros::Container.new, constructor: :dup.to_proc
setting :macros, default: Macros::Container.new, constructor: :dup.to_proc

# @api private
def dup
Expand Down

0 comments on commit 3f8f7d8

Please sign in to comment.