Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/tanstack-skiptoken-support.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@hey-api/openapi-ts": minor
---

**plugin(@tanstack/query)**: feat: add `skipToken` support to `queryOptions`, `infiniteQueryOptions`, and the generated `*QueryKey` helpers

Generated `*Options` factories and exported `*QueryKey` helpers now accept `Options<T> | typeof skipToken`. When `skipToken` is passed, `queryFn` short-circuits to `skipToken` (disabling the query per TanStack Query's conventions) and `queryKey` is built from the unwrapped value via a shared `unwrapSkipToken` helper. Existing call sites passing `Options<T>` continue to work unchanged.
Loading
Loading