vidigami / backbone-mongo

MongoDB storage for BackboneORM
http://vidigami.github.io/backbone-orm/backbone-mongo.html
MIT License
14 stars 8 forks source link

Ids that look like numbers should not be parsed as if they are numbers #12

Closed forivall closed 10 years ago

forivall commented 10 years ago

Occasionally, if a mongo id looks like a number, backbone-orm will try to parse it and use it as a number, instead of as a string.

For example, "406336831214069735729335" or "2961427290180200538416e9".

kmalakoff commented 10 years ago

Fixed