Stream Closed, but I'm getting my results
So I have this procedure that simply returns a list of objects from db: . The thing is that it returns the correct list, but it also gets me a Stream Closed error, even when I'm artificially returning an empty list. What's actually wrong with it?
This is how I'm calling the function, I was inspired from the t3-app post query
and
1 Reply
Nevermind, went on to use useQuery instead of useSuspenseQuery, but I don't know then how the original example works with SuspenseQuery