Tero Kujala
10/19/2021, 1:14 PMUser
and PhoneNumber
. Phone number can be assigned to only one User. When creating new User I need to assign a phone number, which is coming in request, for created user. The request must fail if phone number is already in use and I also need to take into account possible concurrent requests. My problem is that how I can check that phone number is not already in use? Is the Interactive transactions only way to achieve this?Ryan
10/19/2021, 1:20 PMTero Kujala
10/19/2021, 4:14 PM