Skip to content

Conversation

@setchy
Copy link
Member

@setchy setchy commented Jan 20, 2026

Changes

  • Refactor api client and request functions
  • Remove AxiosPromise (old) and replace with Promise<AxiosResponse<T>>
  • Add types to REST function and response shape
  • Refactor client tests to verify client/request behavior, not raw axios call

To Do

  • Improve API response exception handling
  • Remove TODO

Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@github-actions github-actions bot added the refactor Refactoring of existing feature label Jan 20, 2026
@setchy setchy marked this pull request as draft January 20, 2026 20:01
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy setchy marked this pull request as ready for review January 22, 2026 12:34
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@sonarqubecloud
Copy link

@setchy setchy merged commit 2565d21 into main Jan 22, 2026
13 of 14 checks passed
@setchy setchy deleted the refactor/api-request-shape-2 branch January 22, 2026 14:38
@github-actions github-actions bot added this to the Release 6.15.0 milestone Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring of existing feature

Development

Successfully merging this pull request may close these issues.

Improve API exception handling and logging

2 participants