Alex / KATT
Alex / KATT
@ravikant-diwakar if you gonna have ai write for you, tell it to be concise. I've already said that I accept prs and the constraints in one sentence. If you have...
Would love it if you have a play with! I'm not sure if it's solvable _without_ a CLI-tool as I think that the `.d.ts` will still "leak" info about context...
closing as it's abandoned
They're all `INTERNAL_SERVER_ERROR`s, that's not enough? Feel free to have a stab at it - https://github.com/trpc/trpc/blob/1e24e8f0126f5b6c7b16417e5eec9813fdc75c8b/packages/server/src/unstable-core-do-not-import/error/TRPCError.ts#L31-L52 - Anywhere we throw an error with INTERNAL_SERVER_ERROR - Update docs - You can...
you could probably mostly vibe code it
cc @trpc/trpc-core wdyt?
Related: #6554
Appears like this has been fixed together with #6554 https://github.com/extradosages/trpc-type-leak-demo/pull/1 @extradosages could you verify & close if I'm correct?
Not sure if I follow, but curious to see a PR :)
The input we use in tRPC is the input type in zod, that way you can have `.transform()`s etc on your schema before they reach your resolver. If this behaved...