tRPCttRPC
Powered by
lukasL
tRPC•15mo ago•
3 replies
lukas

Why Trpc duplicates `shape` and `data` as duplicated JSON field on errors in `errorFormatter`?

I am using error formater and internally TRPC duplicates the data information in the JSON response. Please see the screenshot
image.png
image.png
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

working with custom errors and trpc errorFormatter
TomTTom / ❓-help
3y ago
How to get a TRPCClientError shape as in initTRPC errorFormatter for testing
MugetsuMMugetsu / ❓-help
17mo ago
Duplicated tRPC server-side calls
PavidR 🐈🐈PPavidR 🐈🐈 / ❓-help
2y ago