UUID type in Mongoose 7 #13103
Labels
enhancement
This issue is a user-facing general improvement that doesn't fix a bug or add a new feature
new feature
This change adds new functionality, like a new method or class
Milestone
Prerequisites
🚀 Feature Proposal
With the release of MongoDB 5+, MongoDB's driver now exposes the UUID type via
require('mongodb').BSON.UUID
(see API docs.This means that Mongoose can expose a UUID type for aggregation like it currently does for ObjectId. This would allow developers to aggregate match on UUIDs.
Current workarounds:
Proposed feature:
Motivation
No response
Example
No response
The text was updated successfully, but these errors were encountered: