We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
\Illuminate\Http\Client\Response->paginated()
relates to #82
Instead of doing $this->paginated(...) in the job it would be cool to do Http::github()->get()->paginated(fn() => ...).
$this->paginated(...)
Http::github()->get()->paginated(fn() => ...)
The paginated macro should accept one closure argument that runs for each response and gets the response instance as it's own argument.
paginated
Http::github() ->get("/orgs/{$this->organization->name}/repos") ->paginated(function(\Illuminate\Http\Client\Response $response): void { $response->collect()->map(...); });
opendor.me/app/Jobs/SyncUserContributions.php
Lines 25 to 47 in b258e25
The text was updated successfully, but these errors were encountered:
No branches or pull requests
relates to #82
Instead of doing
$this->paginated(...)
in the job it would be cool to doHttp::github()->get()->paginated(fn() => ...)
.The
paginated
macro should accept one closure argument that runs for each response and gets the response instance as it's own argument.opendor.me/app/Jobs/SyncUserContributions.php
Lines 25 to 47 in b258e25
The text was updated successfully, but these errors were encountered: