Open c-wenlong opened 4 months ago
- Making Phone Number and Email Address Unique
The current FriendFolio system uses a contact’s name as a unique identifier. We are planning to enhance this by switching to using contact’s phone number and email as unique identifiers. This change will prevent multiple individuals from sharing the same email or phone number within the system, while allowing the existence of multiple individuals with the same name.
According to our planned enhancements, we plan to change the unique identifier from name to phone number and email. Making this change will make this a non-issue because we will allow duplicate names (because in real life you can know 2 different people with the exact same name).
In addition, in our UG, we did mention that names are case-sensitive.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
Description
When it comes to names, there should be some case insensitivity.
Alex Yeoh
andAlex yeoh
should be the same person.Fix
You can consider case insensitivity when parsing the names, i.e. convert everything to lower or upper case when verifying if it exists.