fix(openapi-react-query): update peer dependency @tanstack/react-query to ^5.80.0 and fix type error in UseInfiniteQueryOptions#2353
Conversation
❌ Deploy Preview for openapi-ts failed.
|
|
…y to ^5.80.0 and fix type error in UseInfiniteQueryOptions
620a786 to
255d5d0
Compare
|
Did this fix get included in a release? It seemed to have not been included in openapi-typescript@7.9.1 that was released on the same day this was merged? And isn't showing in the current release PR, or the release inbetween Ahh, and in particular the change-set bot says there aren't any changes |
Changes
Fixes breaking type changes in @tanstack/react-query 5.80.0 release https://github.com/TanStack/query/releases/tag/v5.80.0
Commit with breaking changes: TanStack/query@efa963d
Guys from tanstack removed 4th generic parameter (TQueryFnData) which led to a type error in Options in UseInfiniteQueryMethod type
What does this PR change? Link to any related issue(s).
How to Review
How can a reviewer review your changes? What should be kept in mind for this review?
Checklist
docs/updated (if necessary)pnpm run update:examplesrun (only applicable for openapi-typescript)