Global context or shared context.
Not sure how to troubleshoot `Failed to fetch at Function.from`
the tRPC loop or cycle
tRPC context and NextJS
Is it possible to create a generic router to pass a type on?
Hardware IoT API
Help to understand how and when to use tRPC in larger projects
Best practices on trpc and Sentry
How to do dependecy injection?
input needs to be an object when doing a batch call?
dynamic query and mutation
edit form
component like this:
```tsx
const router = useRouter()
const { t } = useTranslation(["admin/common"])...A lot of WHY
server/api/routers/examples.ts
, why is the create-t3-app
documentation starts from pages/api/trpc/[trpc].ts
? Is there specific reason for that? Or is it just a big massive loop that has no starts and ends?
2. When you say Next.js hands the request to tRPC, shouldn't it be from pages/[somepage]/*.tsx
-> page/api/[someapi]
->server/trpc.ts
-> server/trpc/*.ts
or some server/db/*.ts
? ...
It is possible to define a middleware for all routes?

How are they defined separately?

how can i get procedure name?
Right way to catch all unexpected errors before they reach the user
tRPC sockets with react
Using `fetchRequestHandler` with other routes?
fetchRequestHandler
with a HatTip server, but all the examples seem to give tRPC entire control of all server responses. I actually want to serve other things besides tRPC routes. Anyone know how I could go about this?
So far I've tried this, as well as changing the endpoint
to "/"
and ""
. Always the same result, 404s on /trpc
```...Should useQueries be able to 'select' data?
useQueries
method to query for multiple items. I need to modify the result, so I'd like to use the select
property. However, by doing so, my results aren't modified to the properties I've selected, it still just returns the whole object.
Image #1 shows my select statement attempting to only grab the id
and permissionId
Image #2 shows the logged result in my browser displaying the full object....
Right way to structure your code when using tRPC?