I am creating a user with name, email and passwd using prisma with mongodb and using the @unique directive on email field in datamodel.prisma doesn't seem to throw any errors when creating multiple users with the same email. Any ideas why?
p
Priyank Patel
12/12/2018, 3:05 PM
Did you check if there is a user associated with that email in the database? I haven't had this issue, it always threw error when registering with multiple email.