This might really help you @tnederlof. It uses the ex_phone_number library and creates a custom type for casting the e164 phone number into Ecto. See the cast function:
I am working on a similar issue, no affiliation with them, just found this gem! Many thanks to them ![]()






















