property value() options does not work for nested properties
Closed this issue · 1 comments
faboulaws commented
Example:
const schema = new mongoose.Schema({user: {address: {street: String, postalCode: String}}});
const options = {
"user.address.postalCode": {
value: () => '....'
}
};
In the example above the value is not generated as defined by the value() function.
faboulaws commented
Cannot reproduce.