Skip to content
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

Split Client into an interface and an implementation #36

Merged
merged 2 commits into from
Jun 21, 2024
Merged

Conversation

gffking
Copy link
Contributor

@gffking gffking commented Jun 21, 2024

This PR splits the Client struct into an interface (Client) and implementation (HttpClient). This helps consumers of the client to write tests by allowing test doubles to be written for both the entire client and the individual services.

@gffking gffking merged commit b9c4d1d into main Jun 21, 2024
2 checks passed
@gffking gffking deleted the client-interface branch June 21, 2024 18:43
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