lib/dry/validation/input_processor_compiler/sanitizer.rb in dry-validation-0.7.4 vs lib/dry/validation/input_processor_compiler/sanitizer.rb in dry-validation-0.8.0
- old
+ new
@@ -35,10 +35,10 @@
def identifier
:sanitizer
end
def hash_node(schema)
- [:type, ['hash', [:schema, schema]]]
+ [:type, ['hash', [:weak, schema]]]
end
def array_node(members)
[:type, ['array', members]]
end