Skip to content

Conversation

@krhubert
Copy link
Contributor

@krhubert krhubert commented May 28, 2020

Validate country code based on iso3166 standard.
validators:

  • iso3166_1_alpha2
  • iso3166_1_alpha3
  • iso3166_1_alpha_numeric
    alias:
  • country_code

Enhances

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

Change Details:

add validators:

  • iso3166_1_alpha2
  • iso3166_1_alpha3
  • iso3166_1_alpha_numeric
    add alias:
  • country_code "iso3166_1_alpha2|iso3166_1_alpha3|iso3166_1_alpha_numeric"

@go-playground/admins

krhubert and others added 2 commits May 28, 2020 21:36
Validate country code based on iso3166 standard.
validators:
  - iso3166_1_alpha2
  - iso3166_1_alpha3
  - iso3166_1_alpha_numeric
alias:
  - country_code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants