The-Ultimate-Guide-to-TypeScript-With-Mongoose icon indicating copy to clipboard operation
The-Ultimate-Guide-to-TypeScript-With-Mongoose copied to clipboard

Results 3 The-Ultimate-Guide-to-TypeScript-With-Mongoose issues
Sort by recently updated
recently updated
newest added

Hey there! :wave: I am replacing [rpc-websockets](https://github.com/elpheria/rpc-websockets) with [trpc](https://github.com/trpc/trpc) in an old mongoose project. This time I want everything typed, and mongoose was giving me an exceptionally hard time, but...

Hi, you miss the watch/change stream functionality. please add it. When I do this: ```ts const userChangeStream = UserModel.watch(); userChangeStream.on('change', async (doc) => { if (doc.operationType === 'update') { console.log(doc.documentKey._id.toHexString());...

Hi you can not create indexes like what you did in [this](https://github.com/TomDoesTech/The-Ultimate-Guide-to-TypeScript-With-Mongoose/blob/0a31bcbba7b016b425d47bf23795748e20f8dd6a/src/models/user.model.ts#L35) line you get the following error messages: ```cmd Argument of type '{ 'email': number; }' is not assignable...