Josh Rezende

Results 4 comments of Josh Rezende

i'm doing the tests, but as soon the company approves i'll upload to production

hello, old issue but today I'm doing this: ``` .post('findOneAndUpdate', async function () { const docToUpdate = await this.model.findOne(this.getQuery()); docToUpdate.__history = { event: 'updated', }; await docToUpdate.save(); }); ``` I'll...

@kushalarora92 it works but isn't pretty i'm using in production

@saviocamacam vai depender da transacao que voce fizer, se tiver um hook para ela vai funcionar sim, mas teria que testar