-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Labels
L1A task suitable for someone who is comfortable helping with basic issues.A task suitable for someone who is comfortable helping with basic issues.Type: InternalChore tasks that are needed for other featuresChore tasks that are needed for other features
Description
Overview
A few discounts have more than one address, and the phone number format also vary across many different programs.
Modify the DiscountProgram schema's address to be []string and modify the discount parser so that a discount can contain multiple addresses, and normalize the phone number format to XXX-XXX-XXXX (or any format of your preference 😊, as long as they are consistent).
Note
I discovered this library https://github.com/dongri/phonenumber which could potentially normalize the phone format without us writing regexes ourselves. Use it if you need.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
L1A task suitable for someone who is comfortable helping with basic issues.A task suitable for someone who is comfortable helping with basic issues.Type: InternalChore tasks that are needed for other featuresChore tasks that are needed for other features