You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Generates incorrect queryKeys for Infinite queries, the page is expected to be sent into the KeyFn.
To Reproduce
Steps to reproduce the behavior:
Generate client using openapi-rq --pageParam page --input https://localhost:44353/swagger/v1/swagger.json --output src/openapi/.
Compile code 💥
Expected behavior
I think you need 2 sets for KeyFn functions one for Infinite queries and one for the normal request.
Where the Infinite version excludes the page.
Screenshots
OS: Windows 11
Version v1.6.0
The text was updated successfully, but these errors were encountered:
AnderssonPeter
changed the title
generates incorrect queryKeys for Infinite queries
Generates incorrect queryKeys for Infinite queries
Aug 19, 2024
Describe the bug
Generates incorrect queryKeys for Infinite queries, the page is expected to be sent into the
KeyFn
.To Reproduce
Steps to reproduce the behavior:
openapi-rq --pageParam page --input https://localhost:44353/swagger/v1/swagger.json --output src/openapi/
.Expected behavior
I think you need 2 sets for
KeyFn
functions one for Infinite queries and one for the normal request.Where the
Infinite
version excludes the page.Screenshots
The text was updated successfully, but these errors were encountered: