Safely and quickly serialize JavaScript objects
Whenever I try to use fast-safe-stringify with a Mongoose Object, I get the error "this.$__path is not a function". I tried investigating exactly what is it in mongoose documents that cause this but couldn't find anything. JSON.stringify() works with mongoose objects just fine. I'm using the newest version of both packages: fast-safe-stringify: 2.0.6, mongoose: 8.6.8, node: 10.16.1
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by filetvignon and has received 10 comments.