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
{{ message }}
This repository was archived by the owner on Jul 29, 2019. It is now read-only.
TypeError: photo.toJSON is not a function
at /Users/username/Projects/mongoose-uuid/test/index.js:168:33
at /Users/username/Projects/mongoose-uuid/node_modules/mongoose/lib/model.js:4759:16
at /Users/username/Projects/mongoose-uuid/node_modules/mongoose/lib/utils.js:263:16
at _hooks.execPost (node_modules/mongoose/lib/query.js:4074:11)
at /Users/username/Projects/mongoose-uuid/node_modules/kareem/index.js:135:16
at processTicksAndRejections (internal/process/next_tick.js:74:9)
Hi,
I don't understand why is not possible to have an UUID String representation after a populate ?
This is the test code that I tried:
And the error: