T
tRPC
❓-help
tRPC Express server with Next.js
Looking for more? Join the community!
T
tRPC
❓-help
T
tRPC
❓-help
Recommended Posts
is Nextjs enough as backend?Hi guys,
I'm new to tRPC and would like to rewrite my current project to use single monorepo insteaTS(2742) error when trying to create clientNPM with Node v18.16.1.
I get the following error when trying to create a client. I've imported allWrapping useQuery into a custom hookI'm trying to wrap `useQuery` into a custom hook (as I have some legacy code that I need to run befoPass additional data from `useQuery` to contextFor `splitLink` there is a way to pass context value through `useQuery` as second param `{ trpc: { cCannot set headers in procedures with fetch adapterAm i right that with such a setup in nextjs app router route handler:
```ts
const handler = async (rDoes anybody now how to fix cors policy error?I am facing this error:
Access to fetch at 'http://localhost:3002/trpc/getBotTag?batch=1&input=%7B%7how to handle error from Zod in trpc?I would like to return error instead throwing it away so i could show user nice feedback
i found htt404 TRPCError: no query procedure on pathHi, this is my entire standalone tRPC server:```ts
import { initTRPC } from "@trpc/server";
import {Call multiple TRPC endpoints from onSuccess()?I would like to create an API chain for analysing a geographic area where one successful API call caHow to set sizeLimit > 1MB (to solve 413 error)?Hi all,
I am trying out the T3 stack where I want to send area polygons given by the user to my NexHow to manage server to server communicationWould managing headers this way work in nextjs as server to server communication?
or does next managReplacing the dot notation in URLs with forward slash `/` ?is there a way to replace the dot separation with a forward slash instead ?
so instead of `/api/t