lib/dry/validation/hint_compiler.rb in dry-validation-0.5.0 vs lib/dry/validation/hint_compiler.rb in dry-validation-0.6.0
- old
+ new
@@ -59,9 +59,14 @@
def visit_key(node)
name, _ = node
name
end
+ def visit_attr(node)
+ name, _ = node
+ name
+ end
+
def method_missing(name, *args)
nil
end
end
end