Closed leonardootoni closed 2 years ago
Added .lean() on mongoose Queries to avoid mongoose hydration and speedup performance. It solves that bug when setting TTL from Mongoose Models
I appreciate the contribution, but it looks like the types also need to be updated, so I'll close this in favor of #102
Added .lean() on mongoose Queries to avoid mongoose hydration and speedup performance. It solves that bug when setting TTL from Mongoose Models