AY2425S1-CS2103T-F09-2 / tp

MIT License
1 stars 5 forks source link

Implement duplicate contact handling #58

Closed shardhrv closed 6 days ago

shardhrv commented 1 week ago

Implement duplicate contact handling based on the following criteria:

Rules for Duplicate Detection:

Application Reaction to Duplicates:

Duplicate entries will be rejected with the message: "Duplicate contact found: A contact with the same email or phone number already exists."

Rationale:

This prevents the creation of multiple records of same phone number or email

cshao02 commented 1 week ago

Seems like duplicate handling is implemented based on comparing all fields: 2 people are the same if and only if they are identical in every field.

Screenshot 2024-10-10 200205