Capture output in middleware?
Hi! I am making a middleware in TRPC which sends a log to DynamoDB, the thing is I managed to capture input of course, but don't know if I can capture the output (or response) of the endpoint to include it in the dynamodb item. Is it possible?
0 Replies