Closed tusbar closed 8 years ago
Really, 0.6 is failing.
@drudge could you take a look at this?
@drudge if you’re not available to maintain this, could you give me the access to do so?
I'm not sure I agree that createdAt
shouldn't be created just because it wasn't selected.
Really? Why?
createdAt
is supposed to represent the document’s creation date. When you update a document where only a few properties have been selected, you don’t expect the document’s creation date to change, do you?
Useless as https://github.com/Automattic/mongoose/pull/4351 was merged and released.
Sadly, this is required for user who can't upgrade to latest Mongoose. Our createdAt are wrong since, some code do partial select, and so createdAt is overwritten with an update date.
@lchenay the patch is easy – just fork, add the this.isSelected(createdAt)
and use your fork, not sure that this repository will get much activity as this was open more than 6 months ago.
This fixes this worrisome issue: