Skip to content

Commit fdd57b2

Browse files
committed
feat: add support for --default-client-callbacks option for the createAPIClient()
1 parent 6ad5669 commit fdd57b2

File tree

2 files changed

+357
-48
lines changed

2 files changed

+357
-48
lines changed

packages/tanstack-query-react-plugin/src/generateCode.ts

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ const generateClient = async (spinner: Ora, output: OutputOptions) => {
161161
getClientFactory({
162162
servicesDirName: output.servicesDirName,
163163
explicitImportExtensions: output.explicitImportExtensions,
164+
defaultClientCallbacks: output.defaultClientCallbacks,
164165
})
165166
);
166167

0 commit comments

Comments
 (0)