You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not run on Typescript project. Does not create history object when i create new object, and when i tried to update old document it got stuck.
#68
have tried both ways :-
// import * as diffHistory from "mongoose-diff-history/diffHistory"
// var diffHistory = require('mongoose-diff-history/diffHistory')
tried to declare in typing.d.ts also.
issue remain the same.
it always got stuck at this :-
Mongoose: user.findOne({ _bsontype: 'ObjectID', id: <Buffer 5f c8 e8 1d 50 b7 91 51 ea 39 8c b8>}, { projection: {} })
Mongoose: user.find({ _id: ObjectId("5fdb10f4bf8780f7ee0a7799") }, { projection: {} })
Note:- I am trying to setup it in my existing project and trying to update my old documents
The text was updated successfully, but these errors were encountered:
abhinavagarwal8
changed the title
COuld not run on Typescript project.
Could not run on Typescript project. Does not create history object when i create new object, and when i tried to update old document it got stuck.
May 27, 2021
have tried both ways :-
// import * as diffHistory from "mongoose-diff-history/diffHistory"
// var diffHistory = require('mongoose-diff-history/diffHistory')
tried to declare in typing.d.ts also.
issue remain the same.
it always got stuck at this :-
Mongoose: user.findOne({ _bsontype: 'ObjectID', id: <Buffer 5f c8 e8 1d 50 b7 91 51 ea 39 8c b8>}, { projection: {} })
Mongoose: user.find({ _id: ObjectId("5fdb10f4bf8780f7ee0a7799") }, { projection: {} })
Note:- I am trying to setup it in my existing project and trying to update my old documents
The text was updated successfully, but these errors were encountered: