File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
packages/openapi-ts/src/plugins/@tanstack/query-core Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ export const createInfiniteQueryOptions = ({
316
316
317
317
const functionName = serviceFunctionIdentifier ( {
318
318
config : plugin . context . config ,
319
- handleIllegal : ! plugin . getPlugin ( '@hey-api/sdk' ) ?. config . asClass ,
319
+ handleIllegal : true ,
320
320
id : operation . id ,
321
321
operation,
322
322
} ) ;
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ export const createMutationOptions = ({
105
105
// Get the function name from SDK plugin instead of using operation.id directly
106
106
const functionName = serviceFunctionIdentifier ( {
107
107
config : plugin . context . config ,
108
- handleIllegal : ! plugin . getPlugin ( '@hey-api/sdk' ) ?. config . asClass ,
108
+ handleIllegal : true ,
109
109
id : operation . id ,
110
110
operation,
111
111
} ) ;
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ export const queryKeyStatement = ({
309
309
// Get the function name from SDK plugin instead of using operation.id directly
310
310
const functionName = serviceFunctionIdentifier ( {
311
311
config : plugin . context . config ,
312
- handleIllegal : ! plugin . getPlugin ( '@hey-api/sdk' ) ?. config . asClass ,
312
+ handleIllegal : true ,
313
313
id : operation . id ,
314
314
operation,
315
315
} ) ;
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export const createQueryOptions = ({
72
72
// Get the function name from SDK plugin instead of using operation.id directly
73
73
const functionName = serviceFunctionIdentifier ( {
74
74
config : plugin . context . config ,
75
- handleIllegal : ! plugin . getPlugin ( '@hey-api/sdk' ) ?. config . asClass ,
75
+ handleIllegal : true ,
76
76
id : operation . id ,
77
77
operation,
78
78
} ) ;
You can’t perform that action at this time.
0 commit comments