Skip to content

Conversation

@jblayter
Copy link
Owner

@jblayter jblayter commented Jul 1, 2025

Refactor AddressService to decouple it from SmartyAPI using a provider pattern.

Previously, AddressService was tightly coupled to the SmartyAPI, mixing API-specific logic with business logic. This PR introduces an IAddressValidationProvider interface and moves the SmartyAPI implementation to a dedicated thirdparty folder, making the AddressService provider-agnostic. This significantly improves extensibility, testability, and maintainability by separating concerns and standardizing responses.

Co-authored-by: john <john@factory55.com>
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.

3 participants