-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support for mongoose v8 #1241
Conversation
static readonly ObjectIdTypeName: 'ObjectId' | 'ObjectID' = mongoose.version.startsWith('6') | ||
? 'ObjectID' | ||
: 'ObjectId'; | ||
static readonly ObjectIdTypeName = dynamicSchema.paths.objectId.instance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that seems cleaner ! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
✅ PR title
-
✅ PR linked to the clickup task
-
✅ The PR tackle one subject only
-
✅ Destination branch
-
✅ Code review
- ✅ Use pure functions when possible
- ✅ Performance concerns
- ✅ Security concerns
- ✅ Check that nothing introduces a breaking change, including the types
-
✅ Automatic tests
- ✅ Unit tests
- ✅ Integration tests
-
✅ Manual tests
- ✅ Test the functionality
- ⤬ Test error cases
Code Climate has analyzed commit b412ee3 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (98% is the threshold). This pull request will bring the total coverage in the repository to 97.2%. View more on Code Climate. |
🚀 |
# @forestadmin/datasource-mongo [1.4.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-22) ### Features * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d)) ### Dependencies * **@forestadmin/datasource-mongoose:** upgraded to 1.9.0
# [1.13.0](https://github.com/ForestAdmin/agent-nodejs/compare/[email protected]@1.13.0) (2025-01-22) ### Features * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
# [1.9.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-22) ### Features * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
🎉 This PR is included in version 1.4.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [1.12.18](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-22) ### Features * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
🎉 This PR is included in version 1.13.0 🎉 The release is available on Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.9.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.12.18 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [1.58.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-23) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
# [1.61.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-23) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
## [1.1.47](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-23) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
## [1.5.12](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-23) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
## [1.4.15](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-23) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
## [1.1.21](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-23) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
## [1.4.5](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-23) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
🎉 This PR is included in version 1.58.1 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.61.0 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.47 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.5.12 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.4.15 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.1.21 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 1.4.5 🎉 The release is available on npm package (@latest dist-tag) Your semantic-release bot 📦🚀 |
## [1.11.6](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-28) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) * do not override view default sorting ordrer ([#1245](#1245)) ([8e27769](8e27769)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](#1246)) ([621b243](621b243)) * **validator:** allow null value for Equal operator ([#1250](#1250)) ([5d4cf3e](5d4cf3e)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
## [1.16.6](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-28) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) * do not override view default sorting ordrer ([#1245](#1245)) ([8e27769](8e27769)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](#1246)) ([621b243](621b243)) * **validator:** allow null value for Equal operator ([#1250](#1250)) ([5d4cf3e](5d4cf3e)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
## [1.47.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-28) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) * do not override view default sorting ordrer ([#1245](#1245)) ([8e27769](8e27769)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](#1246)) ([621b243](621b243)) * **validator:** allow null value for Equal operator ([#1250](#1250)) ([5d4cf3e](5d4cf3e)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
## [1.36.5](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/[email protected]...@forestadmin/[email protected]) (2025-01-28) ### Bug Fixes * **datasource mongo:** remove useless version manager ([#1244](#1244)) ([fbb6698](fbb6698)) * do not override view default sorting ordrer ([#1245](#1245)) ([8e27769](8e27769)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](#1246)) ([621b243](621b243)) * **validator:** allow null value for Equal operator ([#1250](#1250)) ([5d4cf3e](5d4cf3e)) ### Features * add lazy join decorator ([#1240](#1240)) ([1b6b248](1b6b248)) * support for mongoose v8 ([#1241](#1241)) ([ae0164d](ae0164d))
Definition of Done
General
Security