lib/dry/schema/value_coercer.rb in dry-schema-0.1.0 vs lib/dry/schema/value_coercer.rb in dry-schema-0.1.1
- old
+ new
@@ -1,13 +1,15 @@
+require 'dry/equalizer'
require 'dry/initializer'
module Dry
module Schema
# Used by the processors to coerce values in the input hash
#
# @api private
class ValueCoercer
extend Dry::Initializer
+ include ::Dry::Equalizer(:type_schema)
# @api private
param :type_schema
# @api private