T
TanStack3w ago
unwilling-turquoise

Server Function Info Not Found Error in Cloudflare Worker with fetchQuery

This fetchQuery was working on the server side earlier, but after the latest update of the start packages, it’s throwing an error: “server function info not found” in the Cloudflare Worker. Any idea why this might be happening? Could there be an issue with this implementation? export const Route = createFileRoute("/demo/trpc-todo")({ component: TRPCTodos, loader: async ({ context }) => { try { const todos = await context.queryClient.fetchQuery( context.trpc.todos.list.queryOptions() ); return todos; } catch (error) { console.error(error); } }, });
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?