Why the @unique directive in datamodel doesn’t working properly ?
Prisma is connected to MongoDb and everything is working good but when I add @unique directive to field and redeploy prisma, then I still can create more than one user with same email.
DataModel:
type User {
id: ID! @id
name: String!
email: String @unique
}😢