You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't differentiate between integers and floats (see aa168b1), which will make this consistent with MongoDB's comparison behavior
Beyond that, the only caveat I see is that searching by an integer/float will not find a numeric string, and vice versa. This is evident in the IdTest fix made in aa168b1#L2L84 -- it may bite some users, but I think it's necessary unless we want to seriously complicate the IdType class.
MongoDB considers integers and float types equivalent for purposes of matching and indexing (including uniqueness). We should do the same in UnitOfWork's identity map.
The text was updated successfully, but these errors were encountered:
See #444 (comment):
MongoDB considers integers and float types equivalent for purposes of matching and indexing (including uniqueness). We should do the same in UnitOfWork's identity map.
The text was updated successfully, but these errors were encountered: