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 @@ -315,7 +315,7 @@ export const createInfiniteQueryOptions = ({
315
315
316
316
const functionName = serviceFunctionIdentifier ( {
317
317
config : plugin . context . config ,
318
- handleIllegal : ! plugin . getPlugin ( '@hey-api/sdk' ) ?. config . asClass ,
318
+ handleIllegal : true ,
319
319
id : operation . id ,
320
320
operation,
321
321
} ) ;
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 @@ -311,7 +311,7 @@ export const queryKeyStatement = ({
311
311
// Get the function name from SDK plugin instead of using operation.id directly
312
312
const functionName = serviceFunctionIdentifier ( {
313
313
config : plugin . context . config ,
314
- handleIllegal : ! plugin . getPlugin ( '@hey-api/sdk' ) ?. config . asClass ,
314
+ handleIllegal : true ,
315
315
id : operation . id ,
316
316
operation,
317
317
} ) ;
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