Closed numbnut closed 8 years ago
No this doesn't fall under "Recursive use of hide not supported". I'll examine the problem.
Commit 3e023fd solves your problem. I've added your test-case to the test-suite. Thanks @numbnut
Thank you for the quick fix and response!
It has been pushed to NPM as well as v0.6.1
I'm experiencing a strange behavior when I'm using subdocuments and and mongoose hidden. I prepared a small code snippet which can be run in the test suite.
The output of the console.log statement is as follows.
As you can see there are two "ghost properties" email.prefix and email.suffix.
Does the statement in the readme "Recursive use of hide not supported." cover this case? Thank you.