-
Type: Bug
-
Resolution: Won't Do
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: BSON
-
None
BSON::Decimal128 always compares false with other types:
irb(main):001:0> BSON::Decimal128.new('1')==1 => false
This behavior does not match Ruby:
irb(main):002:0> 1.0==1 => true irb(main):003:0> BigDecimal('1')==1 => true
I think we should match Ruby behavior in BSON 5.