T
tRPC

Is there a similar handler to createNextApiHandler for fastify?

Is there a similar handler to createNextApiHandler for fastify?

BBarakonda11/18/2023
I'm trying to create a global error handler in fatsify but I can't find anything. Is this even a thing or do I need to use a middleware?
Solution:
Never mind' i found it, it's in trpcOptions -> onError of the fastifyTRPCPlugin
Jump to solution
Solution
BBarakonda11/18/2023
Never mind' i found it, it's in trpcOptions -> onError of the fastifyTRPCPlugin

Looking for more? Join the community!

T
tRPC

Is there a similar handler to createNextApiHandler for fastify?

Join Server