v11: inferRouterInputs is returning `void | <zod object>` so it's unusable?
How do I create a React/Node full-stack project with tRPC?
client
, write my server code in a folder called server
....calling tRPC procedure from custom link
await utils.client.auth.refresh.mutate(tokens)
, but getting Error: Unable to find tRPC Context. Did you forget to wrap your App inside withTRPC HoC?
.Type too complex to infer?
Mongo Db Schema _id(ObjectId) in trpc get serializes to string
Passing input as a prop
Useless TRPC Error messages: Error: β tRPC failed on <no-path>
subscriptions net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK) with httpSubscriptionLink on Bun/Hono
net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)
net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)
Is publicProcedure safe to use with this kind of approach ?
Need more control over error handling
TypeError [ERR_INVALID_STATE]: Invalid state: Controller is already closed
createCaller is returning [Function: noop]
{mutations: ..., etc.}
)
But when I create the caller, it returns noop, and anything I call on that is noop. Ideas?...Fastify + TRPC on Vercel
Is it ok to have 2 clients in one app
Duplicated tRPC server-side calls
createHydrationHelpers
stuff from @trpc/react-query/rsc
I'm also using generateMetadata
function from NextJS App Router.
...Is it good choice to use tRPC if I don't use monorepo?
Equivalent to middleware on createNextApiHandler
Issues with setting up t3-create-app and server side events(SSE)
splitLink
and simple subscription onPostAdd
as in example from docs page(https://trpc.io/docs/client/links/httpSubscriptionLink)
However, when try get this sub on client api.post.onPostAdd
type of onPostAdd
is...Is it possible to use tRPC React Query Integration without defining a trpc provider?
Is it possible to request directly from user's browser rather than using a server proxy in trpc?