Country codes are not currently validated.
We could validate via https://pypi.org/project/pycountry/
Related: #248 added InvalidCountryCode so a malformed country code is now preserved and surfaced at the type level, but the code is still not validated against a real country list, so this stays open.
Priority
Effort
Activity
llucax commented on Sep 15, 2026
Related: #248 added InvalidCountryCode so a malformed country code is now preserved and surfaced at the type level, but the code is still not validated against a real country list, so this stays open.