lib/dry/schema/macros/value.rb in dry-schema-1.10.1 vs lib/dry/schema/macros/value.rb in dry-schema-1.10.2
- old
+ new
@@ -28,12 +28,12 @@
if schema
current_type = schema_dsl.types[name]
updated_type =
if array_type?(current_type)
- build_array_type(current_type, schema.type_schema)
+ build_array_type(current_type, schema.strict_type_schema)
else
- schema.type_schema
+ schema.strict_type_schema
end
import_steps(schema)
if !custom_type? || array_type?(current_type) || hash_type?(current_type)