Skip to content

Commit

Permalink
Update for latest dry-configurable setting API (#686)
Browse files Browse the repository at this point in the history
  • Loading branch information
timriley authored Sep 12, 2021
1 parent 6c1ce4f commit b6ee512
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, &:dup
setting :macros, Macros::Container.new, constructor: :dup.to_proc

# @api private
def dup
Expand Down

0 comments on commit b6ee512

Please sign in to comment.