How to handle unique constraint in Entity (Aggregate Root)?

(puneet) #1

In our case we are creating a Ticket entity and in that Email Id has to be unique, how to achieve this using the Lagom Framework?

(Alan Klikic) #2

Hope this helps:

We use a read side check with a risk that two users could use the same email while read side is not consistent.
For now this never heppend in our case