diff --git a/docs/migrating_to_6.md b/docs/migrating_to_6.md index 69945f4eb0..5f949f1366 100644 --- a/docs/migrating_to_6.md +++ b/docs/migrating_to_6.md @@ -544,7 +544,7 @@ The MongoDB node driver will always attempt to retry any operation for up to `se So, it will never run out of retries or try to reconnect to MongoDB. -

Lodash .isEmpty() returns true for ObjectIds

+

Lodash .isEmpty() returns true for ObjectIds

Lodash's `isEmpty()` function returns true for primitives and primitive wrappers. `ObjectId()` is an object wrapper that is treated as a primitive by Mongoose.