Closed qudo-code closed 1 year ago
Notice I can createQuery
but not createInfiniteQuery
.
It is possible to do so. According to https://trpc.io/docs/useInfiniteQuery, your procedure would need to take in an optional param called cursor
, which should show you createInfiniteQuery
in your autocomplete.
I am assuming that this is the issue. If not, could you please share what the procedure looks like in the router for me to look into?
Yeah, I am assuming this is the issue as well, feel free to close this. Thanks for that.
Okay then, closing.
Hello, is it possible to to this pattern with this package? It seems like all input to![Screenshot 2023-03-09 at 7 57 47 PM](https://user-images.githubusercontent.com/59782726/224219871-404b0ae1-dafd-4716-9611-1226440a4329.png)
trpcWithQuery
goes to the endpoint and not to setup the query as seen here.