Skip to content

Conversation

henrybarreto
Copy link
Member

No description provided.

@henrybarreto henrybarreto requested a review from a team as a code owner September 25, 2025 14:18
@henrybarreto henrybarreto self-assigned this Sep 25, 2025
@henrybarreto henrybarreto force-pushed the feat/improve-http-internal-client branch 2 times, most recently from 127055d to 5e2ed68 Compare September 25, 2025 14:28
@henrybarreto henrybarreto force-pushed the feat/improve-http-internal-client branch 8 times, most recently from 1ddeaeb to 8bfb920 Compare September 29, 2025 12:49
It refactors the internal client to standardize error handling and
improve its structure. A new error type is introduced to encapsulate
HTTP response details, including the status code, which was previously
returned as a separate value. This simplifies the client's function
signatures and makes error handling more consistent.

The configuration has been extracted into a dedicated file with default
values, and the now-redundant WithConfig option has been removed. All
client methods have been updated to use the new error handling and
configuration, and the corresponding mocks and usages have been adjusted
accordingly.
otavio
otavio previously approved these changes Sep 29, 2025
@henrybarreto henrybarreto force-pushed the feat/improve-http-internal-client branch from 8bfb920 to ef115f0 Compare September 29, 2025 19:35
@henrybarreto henrybarreto requested a review from a team as a code owner September 29, 2025 19:35
@henrybarreto henrybarreto requested a review from otavio September 29, 2025 19:35
otavio
otavio previously approved these changes Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants