Skip to content

feat(sdk): return plain promises and add explicit WithResponse methods#343

Merged
matoous merged 1 commit intomainfrom
md/with-response-methods
Apr 22, 2026
Merged

feat(sdk): return plain promises and add explicit WithResponse methods#343
matoous merged 1 commit intomainfrom
md/with-response-methods

Conversation

@matoous
Copy link
Copy Markdown
Contributor

@matoous matoous commented Apr 22, 2026

Replace the custom Promise-like SDK request wrapper with a simpler API that returns plain Promise<T> from generated endpoint methods and adds companion *WithResponse() variants for callers that need raw HTTP metadata.

@matoous matoous self-assigned this Apr 22, 2026
@matoous matoous force-pushed the md/with-response-methods branch from 224b576 to 45b6020 Compare April 22, 2026 23:00
Replace the custom Promise-like SDK request wrapper with a simpler API
that returns plain `Promise<T>` from generated endpoint methods and
adds companion `*WithResponse()` variants for callers that need raw HTTP
metadata.
@matoous matoous force-pushed the md/with-response-methods branch from 45b6020 to b16259f Compare April 22, 2026 23:10
@matoous matoous merged commit 28d5da2 into main Apr 22, 2026
8 checks passed
@matoous matoous deleted the md/with-response-methods branch April 22, 2026 23:13
This was referenced Apr 22, 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