lib/dry/schema/predicate_inferrer.rb in dry-schema-1.1.0 vs lib/dry/schema/predicate_inferrer.rb in dry-schema-1.2.0
- old
+ new
@@ -15,10 +15,11 @@
DateTime => :date_time?,
FalseClass => :false?,
Integer => :int?,
NilClass => :nil?,
String => :str?,
- TrueClass => :true?
+ TrueClass => :true?,
+ BigDecimal => :decimal?
}.freeze
REDUCED_TYPES = {
%i[true? false?] => :bool?
}.freeze