You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am facing an issue where model.pre('save') middleware is not being invoked because it uses insertMany. This was changed from create to insertMany in this PR.
Can we switch it back to calling create but in order of array?
The text was updated successfully, but these errors were encountered:
Hello,
I am facing an issue where
model.pre('save')
middleware is not being invoked because it usesinsertMany
. This was changed fromcreate
toinsertMany
in this PR.Can we switch it back to calling
create
but in order of array?The text was updated successfully, but these errors were encountered: