We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f32b50 commit 7d04268Copy full SHA for 7d04268
packages/openapi-ts/src/plugins/@tanstack/query-core/queryKey.ts
@@ -272,7 +272,7 @@ const createQueryKeyLiteral = ({
272
parameters: [
273
tsc.ots.string(id),
274
'options',
275
- tsc.ots.boolean(!!isInfinite),
+ isInfinite || tagsExpression ? tsc.ots.boolean(Boolean(isInfinite)) : undefined,
276
tagsExpression ? tagsExpression : undefined,
277
],
278
});
0 commit comments