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