Enrich the response object for TRPC endpoint
Currently when I hit a trpc endpoint I get something like:
Is there any way to add more metadata, like:
2 Replies
This is a fascinating idea
You could probably use a middleware and set some additional headers today, probably add extra keys to the result object itself too
If you can really flesh out a use case then it would make an interesting feature request
thanks will take a peek at middleware