lib/dry/validation/schema_compiler.rb in dry-validation-0.7.2 vs lib/dry/validation/schema_compiler.rb in dry-validation-0.7.3
- old
+ new
@@ -31,8 +31,12 @@
def visit_guard(node)
deps, other = node
Guard.new(visit(other), deps)
end
+
+ def visit_type(type)
+ type.rule
+ end
end
end
end