lib/dry/schema/processor.rb in dry-schema-1.7.0 vs lib/dry/schema/processor.rb in dry-schema-1.7.1
- old
+ new
@@ -51,10 +51,10 @@
# @return [Class]
#
# @api public
def define(&block)
@definition ||= DSL.new(
- processor_type: self, parent: superclass.definition, **config, &block
+ processor_type: self, parent: superclass.definition, **config.to_h, &block
)
self
end
# Build a new processor object