Goal
Add a Country constraint — validate a string as an acceptable ISO 3166-1 alpha-2 country code (like Assert\Country in Symfony).
Reference
- Symfony:
Symfony\Component\Validator\Constraints\Country.
Constraints
- No new dependencies — static set of codes in the repository (updated when needed), without ICU calls or external services.
Scope
- Letter case handling, unknown codes; tests.
Complexity
2 / 5.
Migrated from Linear: IGO-39
Priority: High
Estimate: 2 points
Goal
Add a Country constraint — validate a string as an acceptable ISO 3166-1 alpha-2 country code (like
Assert\Countryin Symfony).Reference
Symfony\Component\Validator\Constraints\Country.Constraints
Scope
Complexity
2 / 5.
Migrated from Linear: IGO-39
Priority: High
Estimate: 2 points