-
**Do you want to request a *feature* or report a *bug*?**
Bug
**What is the current behavior?**
This is the same issue as described in #10974
**If the current behavior is a bug, pl…
-
This is a feature request.
actually, following the documentation (and my research in the code),
you can do (taked from https://mongoosejs.com/docs/discriminators.html)
```js
var eventSchema = ne…
-
**Do you want to request a *feature* or report a *bug*?**
Bug(?)
**What is the current behavior?**
TypeScript error when trying to use Date type for schema field.
```
Type '{ type…
-
Property '_id' does not exist on type 'ObjectId'
> Mongoose adds a _id getter to ObjectId instances so you can use `story.author._id` regardless of whether author is populated.
- [Population](http…
-
The Mongoose (connection options documentation references)[https://mongoosejs.com/docs/connections.html#options] a link to the MongoDB Node 2.2 native driver documentation[2]. Should this not point to…
-
**Bug**
**What is the current behavior?**
When visiting the documentation under https://mongoosejs.com/docs/api.html#mongoose_Mongoose-Document (via first Google hit to api.html and then clicking …
bjrne updated
2 years ago
-
bug in mongoosejs 6.1.6 version:
ObjectId.isValid validates an Object with prop id as a valid ObjectId:
`mongoose.Types.ObjectId.isValid({ id: '580e0797bb495f0a200e91ad' }) // true`
But in 6…
-
**Do you want to request a *feature* or report a *bug*?**
bug
**What is the current behavior?**
when change stream code is included during connection to mongoDB, the AWS Lambda container would cr…
-
There seems to be an issue when using a clustered connection from MongoDB Atlas. I tried the same setup both on a local server and a mongodb Atlas server, there is always an error on the first consume…
-
node v16.13.2
mongoose v6.2.0
https://mongoosejs.com/docs/discriminators.html#discriminators
If you use a discriminator schema like this
```typescript
const Event = mongoose.model(
"Event"…