Ammar
Explore posts from serversHow to get cursor in new Tanstack Query integration?
How can I access the
cursor
(or pageParam
) in the new infiniteQueryOptions
function? The current procedure input takes a cursor
but I'm getting and error saying cursor
is not passed to infiniteQueryOptions
, and I can't pass it manually as it is calculated using getNextPageParam
.2 replies
TTCTheo's Typesafe Cult
•Created by Ammar on 5/28/2023 in #questions
tRPC API calls log user out automatically
Whenever I call a tRPC API route (protected or public), I immediately get logged out. I have no idea what I'm doing wrong. Here's my code:
10 replies