Replies: 1 comment
-
Many thanks for starting this discussion, @aralroca! It seems that you found a bug in Mongoose schema definition 😅. I am creating an issue to fix it. Thanks again for letting me know! 😊 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We realize that the plugin
uniqueValidator
is not executed:When calling the
save
function of Monguito it is saved even if theexternalId
already exists. I do not know if it is a problem when using the extendSchema no longer allows plugins likemongoose-unique-validator
or if it is something else the problem. Any idea?Beta Was this translation helpful? Give feedback.
All reactions