I have some model:
After, in console i get:
pre validate schema1 pre validate schema1 savedThe question is, Why?
schema1.pre('validate')- appears 2 times, but i expect 1 time?
You received this message because you are subscribed to the Google Groups "mongoose-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongoose-user...@googlegroups.com.
To post to this group, send email to mongoos...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongoose-users.
For more options, visit https://groups.google.com/groups/opt_out.