Middleware that returns data instead of throwing error
Is there any way for a middleware to return typed data instead of throwing an error? I can only see examples of the latter.
I'm thinking about something like this:
It would then augment the output type of the procedure with the output type of the middleware.
1 Reply
Did u find a solution for this?