LearnBoost/mongoose — pull request #572 by gitfy (2011-10-21 23:47:10+00:00)
Title: Emb doc - delta handling

Hi,

With this pull request the following are handled :

1. Reset of modification flag on all levels (emb-doc levels as well and not just the root doc level)

2. If the document is modified using doc.set(docObject), where the docObject is setting the whole document back with the changes contained in it, emdedded document array are not set to modified status unless it is really changed. I have enabled my previous emd-doc changes test case which checks this case.

Please review my changes, since they might be really critical from your assumptions. Let me know if there are any issues.

Thanks.