lib/dry/schema/json.rb in dry-schema-1.1.0 vs lib/dry/schema/json.rb in dry-schema-1.2.0
- old
+ new
@@ -10,10 +10,10 @@
# @see Schema#JSON
#
# @api public
class JSON < Processor
config.key_map_type = :stringified
- config.type_registry = config.type_registry.namespaced(:json)
+ config.type_registry_namespace = :json
config.filter_empty_string = false
end
end
end