Skip to content

feat(sdk): typed request options and per-call transport overrides#281

Merged
matoous merged 2 commits intomainfrom
feat/request-options-overrides
Mar 13, 2026
Merged

feat(sdk): typed request options and per-call transport overrides#281
matoous merged 2 commits intomainfrom
feat/request-options-overrides

Conversation

@matoous
Copy link
Copy Markdown
Contributor

@matoous matoous commented Mar 13, 2026

Regenerate the SDK to replace FetchParams with RequestOptions, add optional-query overloads that accept request options directly, and support per-request timeout/maxRetries handling in the HTTP client.

Also update the README and checkout example to match the current generated client surface and cover the new request options.

@matoous matoous self-assigned this Mar 13, 2026
@matoous matoous changed the title Add typed request options and per-call transport overrides feat(sdk): typed request options and per-call transport overrides Mar 13, 2026
Regenerate the SDK to replace FetchParams with RequestOptions, add optional-query overloads that accept request options directly, and support per-request timeout/maxRetries handling in the HTTP client.

Also update the README and checkout example to match the current generated client surface and cover the new request options.
@matoous matoous force-pushed the feat/request-options-overrides branch from 3c5bd24 to 36e6e83 Compare March 13, 2026 12:07
Remove the generated queryOrOptions overload pattern so request methods keep a stable argument order of path params, then query/body, then request options.

Regenerate the SDK output and update docs/tests to use the explicit query?, options? form.
@matoous matoous merged commit a9d0f97 into main Mar 13, 2026
5 checks passed
@matoous matoous deleted the feat/request-options-overrides branch March 13, 2026 12:22
This was referenced Mar 11, 2026
This was referenced Mar 27, 2026
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.

1 participant