github / gh-gei

Migration CLI for GitHub to GitHub migrations
MIT License
327 stars 88 forks source link

PART 3: Handle multiple types of data from SendAsync #1275

Closed begonaguereca closed 1 month ago

begonaguereca commented 1 month ago

This pull request introduces several changes to the GithubClient class in the src/Octoshift/Services directory to enhance response handling and retry logic. The main changes include updating the GetWithRetry and SendAsync methods to handle different types of response content, adding checks for rate limits, and improving the logic for handling forbidden status codes.

Enhancements to response handling:

Improvements to retry logic:

github-actions[bot] commented 1 month ago

Unit Test Results

0 tests   0 :white_check_mark:  0s :stopwatch: 0 suites  0 :zzz: 0 files    0 :x:

Results for commit c96d14e2.