Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openapi-react-query: infinite queries #2062

Closed
OliverJAsh opened this issue Dec 20, 2024 · 2 comments
Closed

openapi-react-query: infinite queries #2062

OliverJAsh opened this issue Dec 20, 2024 · 2 comments
Labels
enhancement New feature or request openapi-react-query Relevant to openapi-react-query

Comments

@OliverJAsh
Copy link

Are there plans to add support for "infinite queries"? If so, I'm curious how this could work. How would the library know how to feed pageParam from React Query through to the correct param?

@OliverJAsh OliverJAsh added enhancement New feature or request openapi-react-query Relevant to openapi-react-query labels Dec 20, 2024
@kerwanp
Copy link
Contributor

kerwanp commented Dec 21, 2024

It is definitely planned to support more hooks like useQueries, useInfiniteQuery, etc for the V1. But before, it requires some refactoring on the type system to be sure that implementations are well done and consistent.

For useInfiniteQuery specifically, there is a PR here #1881 but I don't think it is ready.

@kerwanp
Copy link
Contributor

kerwanp commented Dec 21, 2024

Closing as duplicate of #1828

@kerwanp kerwanp closed this as not planned Won't fix, can't repro, duplicate, stale Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request openapi-react-query Relevant to openapi-react-query
Projects
None yet
Development

No branches or pull requests

2 participants