lib/dry/schema/messages/namespaced.rb in dry-schema-1.3.2 vs lib/dry/schema/messages/namespaced.rb in dry-schema-1.3.3
- old
+ new
@@ -62,9 +62,14 @@
# @api private
def rule_lookup_paths(tokens)
base_paths = messages.rule_lookup_paths(tokens)
base_paths.map { |key| key.gsub('dry_schema', "dry_schema.#{namespace}") } + base_paths
end
+
+ # @api private
+ def cache_key(predicate, options)
+ messages.cache_key(predicate, options)
+ end
end
end
end
end