Skip to content

Constraint: Country (ISO 3166) #111

Description

@cursor

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions