lib/dry/schema/messages/namespaced.rb in dry-schema-1.3.4 vs lib/dry/schema/messages/namespaced.rb in dry-schema-1.4.0
- old
+ new
@@ -53,10 +53,10 @@
def key?(key, *args)
messages.key?(key, *args)
end
# @api private
- def lookup_paths(tokens)
+ def filled_lookup_paths(tokens)
super(tokens.merge(root: "#{tokens[:root]}.#{namespace}")) + super
end
# @api private
def rule_lookup_paths(tokens)