Skip to content

Modify the discounts program parser #144

@mikehquan19

Description

@mikehquan19

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1A task suitable for someone who is comfortable helping with basic issues.Type: InternalChore tasks that are needed for other features

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions