Skip to content

Commit c796132

Browse files
committed
docs(changeset): Ensure resolveResponse always **resolves** promises.
1 parent d8a031a commit c796132

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.changeset/eight-coats-brake.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@openapi-qraft/react': patch
3+
---
4+
5+
Ensure `resolveResponse` always **resolves** promises.
6+
7+
This change modifies the `resolveResponse` function to always return a resolved Promise
8+
rather than rejecting when no `responsePromise` is provided. This brings the function's
9+
behavior in line with the `requestFn` pattern, ensuring consistent error handling.

0 commit comments

Comments
 (0)