Closed OliverJAsh closed 11 years ago
This allows you to find by ID in your application without first having to convert your query to ObjectID on the application side:
Before:
userService.findOne({ _id: new ObjectID(user._id) }, function (err, entity) {})
After:
userService.findOne({ _id: user._id }, function (err, entity) {})
FYI I've just released a version that includes this change.
This allows you to find by ID in your application without first having to convert your query to ObjectID on the application side:
Before:
After: