-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
confirmed-bugWe've confirmed this is a bug in Mongoose and will fix it.We've confirmed this is a bug in Mongoose and will fix it.
Milestone
Description
Prerequisites
- I have written a descriptive issue title
- I have searched existing issues to ensure the bug has not already been reported
Mongoose version
8.4.1+
Node.js version
20.x
MongoDB server version
5.x,6.x
Typescript version (if applicable)
5.4.5
Description
This test case demonstrates inserting a single document with a complex schema. it is actually simplified from out actual schema in use, and I've replace several subdocuments with Mixed
. But I expect it is very likely due to the potential recursive nature of the schema.
Works as expected in version 8.2.2, 8.3.0 and 8.4.0.
Hangs in 8.4.1 - 8.6.3
Steps to Reproduce
build and run attached app.
Expected Behavior
inserts the document.
Metadata
Metadata
Assignees
Labels
confirmed-bugWe've confirmed this is a bug in Mongoose and will fix it.We've confirmed this is a bug in Mongoose and will fix it.