lib/dry/schema/compiler.rb in dry-schema-0.4.0 vs lib/dry/schema/compiler.rb in dry-schema-0.5.0

- old
+ new

@@ -17,9 +17,14 @@ # @api private def self.new(predicates = PredicateRegistry.new) super end + # @api private + def visit_and(node) + super.with(hints: false) + end + # Build a special rule that will produce namespaced failures # # This is needed for schemas that are namespaced and they are # used as nested schemas #