I’m trying to change the automatic _id generated by mongodb, then I got this error. I don’t know which error he’s mentionning here. Someone can help please?
I’ve already trying to create a user_id with auto increment in the schema model but it doesn’t word. Also, I HAVE already use mongoose-sequence but another error is appearing like “Auto increment field already present and not of type “Number””.