Closed codemeasandwich closed 2 years ago
Would be good to add this Boolean flag isNew to indicated the diff is not been applied to an existing object. This would also match the mongoose approach: Document-isNew
isNew
Added in: https://github.com/codemeasandwich/mongoose-model-stream/commit/c7d51f5232646ab87c8e4990a5ed9cb0f3f914d9
Would be good to add this Boolean flag
isNew
to indicated the diff is not been applied to an existing object. This would also match the mongoose approach: Document-isNew