These are chat archives for Automattic/mongoose

16th
Feb 2019
Austyn Studdard
@KingCosmic
Feb 16 02:55
well I decided to use Model.findByIdAndUpdate()
which has lead me to an issue where sub objects like
document: { subobject: { thing: true, otherthing: false } }
properties not in the update I send will get removed entirely is there a option to fix this?
Austyn Studdard
@KingCosmic
Feb 16 03:04
nevermind, found a stack overflow answer