lib/dry/schema/processor.rb in dry-schema-1.1.0 vs lib/dry/schema/processor.rb in dry-schema-1.2.0
- old
+ new
@@ -2,10 +2,11 @@
require 'dry/configurable'
require 'dry/initializer'
require 'dry/schema/type_registry'
+require 'dry/schema/type_container'
require 'dry/schema/rule_applier'
require 'dry/schema/key_coercer'
require 'dry/schema/value_coercer'
module Dry
@@ -26,10 +27,10 @@
class Processor
extend Dry::Initializer
extend Dry::Configurable
setting :key_map_type
- setting :type_registry, TypeRegistry.new
+ setting :type_registry_namespace, :nominal
setting :filter_empty_string, false
option :steps, default: -> { EMPTY_ARRAY.dup }
option :schema_dsl