Skip to content

validate country codes are ISO 3166-1 alpha-2#1145

Open
aagbsn wants to merge 1 commit into
masterfrom
fix_1144_assert_bad_cc
Open

validate country codes are ISO 3166-1 alpha-2#1145
aagbsn wants to merge 1 commit into
masterfrom
fix_1144_assert_bad_cc

Conversation

@aagbsn

@aagbsn aagbsn commented Mar 30, 2026

Copy link
Copy Markdown
Contributor

Adds pydantic_extra_types.country and validates probe_cc field in check-in.
Adds test to verify invalid probe_cc returns status 422

@hellais

hellais commented Apr 7, 2026

Copy link
Copy Markdown
Member

Was this tested with a real client to make sure it's working as intended? If so, this looks good to merge

@aagbsn

aagbsn commented Apr 8, 2026

Copy link
Copy Markdown
Contributor Author

No, this isn't tested yet with a real client. I think it makes sense to automate this type of testing by containerizing the infrastructure so that changes to backend automatically deploy and are tested against a matrix of client versions.

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