Skip to content

Add PostalAddress (contact) #10

@vhrcgcom

Description

@vhrcgcom

Description

Implement PostalAddress as a ValueObject in the contact module.

Spec: composite: StreetAddress + City + ZipCode + CountryCode

Implementation checklist

  • Create src/contact/postaladdress.rs
  • Implement ValueObject trait
  • Add #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
  • Export from src/contact/mod.rs and prelude
  • Unit tests: valid input · empty input · invalid format · normalisation
  • Doc comment with # Example block
  • Update status in ROADMAP.md from ⬜ to ✅

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or improvement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions