Skip to content

Commit

Permalink
docs: Add missing closing tag for Lodash entry.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstos committed Oct 30, 2024
1 parent 25da2ca commit d98b2e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migrating_to_6.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.


<h2 id="lodash-object-id"><a href="#lodash-object-id">Lodash <code>.isEmpty()</code> returns true for ObjectIds</h2>
<h2 id="lodash-object-id"><a href="#lodash-object-id">Lodash <code>.isEmpty()</code> returns true for ObjectIds</a></h2>

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

0 comments on commit d98b2e7

Please sign in to comment.