lib/dry/validation/input_processor_compiler/sanitizer.rb in dry-validation-0.10.7 vs lib/dry/validation/input_processor_compiler/sanitizer.rb in dry-validation-0.11.0
- old
+ new
@@ -34,14 +34,14 @@
def identifier
:sanitizer
end
def hash_node(schema)
- [:type, ['hash', [:weak, schema]]]
+ [:hash, [:weak, schema, {}]]
end
def array_node(members)
- [:type, ['array', members]]
+ [:array, [members, {}]]
end
end
end
end