Skip to content

feat(contact): add CountryCode value object#78

Merged
vhrcgcom merged 1 commit intomainfrom
feat/9-contact-country-code
Apr 17, 2026
Merged

feat(contact): add CountryCode value object#78
vhrcgcom merged 1 commit intomainfrom
feat/9-contact-country-code

Conversation

@vhrcgcom
Copy link
Copy Markdown
Collaborator

Summary

Adds CountryCode value object — ISO 3166-1 alpha-2, normalised to uppercase on construction.

Closes #9

Type of change

  • Bug fix
  • New value object / feature
  • Documentation
  • Refactor / internal improvement
  • CI / tooling

Checklist

  • cargo fmt — code is formatted
  • cargo clippy --features full,serde -- -Dclippy::all — no warnings
  • cargo test --features full,serde — all tests pass
  • New public API has doc comments with an # Example block
  • New value objects have tests for: valid input, empty input, invalid format, normalisation
  • README feature table updated (if a new feature was added)

@vhrcgcom vhrcgcom assigned vhrcgcom and unassigned vhrcgcom Apr 17, 2026
@vhrcgcom vhrcgcom merged commit cdbd341 into main Apr 17, 2026
14 checks passed
@vhrcgcom vhrcgcom deleted the feat/9-contact-country-code branch April 17, 2026 12:56
vhrcgcom added a commit that referenced this pull request Apr 21, 2026
feat(contact): add CountryCode value object
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.

Add CountryCode (contact)

1 participant