Skip to content

feat: add @IsISO31661Alpha3 and @IsISO31661Alpha2 validators #273

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Jul 17, 2019
Merged

feat: add @IsISO31661Alpha3 and @IsISO31661Alpha2 validators #273

merged 12 commits into from
Jul 17, 2019

Conversation

neilime
Copy link
Contributor

@neilime neilime commented Nov 1, 2018

Validator exists for validator.js

According to wikipedia : ISO_3166-1_alpha-3 allows a better visual association between the code and the country names than the two-letter alpha-2 codes
(https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3)

@d-yokoi
Copy link

d-yokoi commented Mar 12, 2019

I appreciate if you could add alpha-2 as well :)

@neilime
Copy link
Contributor Author

neilime commented Mar 12, 2019

@d-yokoi : Done

@vlapo vlapo changed the title Add ISO_3166-1_alpha-3 validator feat: add ISO_3166-1_alpha-3 and ISO_3166-1_alpha-2 validators Jul 17, 2019
@vlapo vlapo changed the title feat: add ISO_3166-1_alpha-3 and ISO_3166-1_alpha-2 validators feat: add @IsISO31661Alpha3 and @IsISO31661Alpha2 validators Jul 17, 2019
@vlapo vlapo merged commit 55c57b3 into typestack:master Jul 17, 2019
@vlapo vlapo added this to the v0.10.0 milestone Jul 26, 2019
@github-actions
Copy link

github-actions bot commented Aug 4, 2020

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants