doctrine/phpcr-odm — comment on commit 15199349d45402b086b5a6f07400dbd6d5667be7
File: tests/Doctrine/Tests/ODM/PHPCR/Functional/BasicCrudTest.php line 149
By lsmith77:

ok .. i thought about this some more .. i think the current behavior is correct.
however for NoSQL we need a way to ensure that all properties of a node are removed or overwritten which AFAIK there is currently no way to do.
however if you have all the properties of a node mapped, then obviously you will know that updating the node will intact override everything.

so imho we are missing a feature in the ODM's for users to be able to get a guarantee removal of non mapped fields in flush()