Skip to content

Commit 685eaa5

Browse files
committed
fix(api-client): enhance callback typing for mutation state and fix overloads in createAPIClient
1 parent 04fb1bd commit 685eaa5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.changeset/poor-pugs-fix.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44
---
55

66
Fixed callback typing and client factory overload generation for partial callback clients.
7+
8+
- Added `getMutationCache` to mutation state callback typing in `qraftAPIClient`, so it is available on generated
9+
clients when relevant callbacks are provided.
10+
- Fixed generated `createAPIClient` operation-client overloads to return `APIBasicQueryClientServices<..., Callbacks>`
11+
and `APIBasicClientServices<..., Callbacks>` (instead of incorrectly locking to `DefaultCallbacks`) for partial
12+
callback configurations.

0 commit comments

Comments
 (0)