T
tRPC
Unable to get mutation to trigger subscription because EventEmitter not being shared
Unable to get mutation to trigger subscription because EventEmitter not being shared
Looking for more? Join the community!
T
tRPC
Unable to get mutation to trigger subscription because EventEmitter not being shared
T
tRPC
Unable to get mutation to trigger subscription because EventEmitter not being shared
Recommended Posts
Is there a guide of how to test?I'm usually use vitest but in frontend of shared packages.
I'm frontend trying to create my first aModify the payload before mutatingI have a specific mutation hook that is used all throughout my app, and inside of the hook I want tois there a simple boilerplate that has everything ready to deploy?For example nodemon, reading the port for .env, etc. (I don't know if that's how it is haha)
I use Context is not fully globally accessed? [ probably newbie question ]I create a context in the based procedure, but It's undefined in the procedure based on it.
~~Also Using tRPC for server to server requestsHey everyone! The start up I’m at recently deployed a server separate from our main server. Our mainReferenceError: FormData is not definedI am using the experimental form data as shown in the examples and it works correctly on my machine,TRPCError that has TRPCError as causeHaving some troubles with error handling, specifically, my errors are double-wrapped in a TRPCErrorHow do you make use of custom input validation?I have an input validation middleware, to parse my input based on some values in ctx.
```
export fuWhy useQuery() tries to refetch when error occurs while useMutation() doesn't?I'm using the T3 stack.
```test: publicProcedure.input(z.string().min(5)).query(async () => {
Lambda WITHOUT API Gateway (Lambda Function URL)Anyone know how to make this work?In a monorepo can I have 2 packages each one with different trpc server, and use both in 1 app?I want to create 2 different APIs, and in my monorepo I have several apps, in some I want to use botHave you used electron-trpc? how does it work for you? Do you recommend it?https://www.electron-trpc.dev/
Thanks