You must define a transformer on your your `initTRPC`-object first

My pretty stock t3 app is screaming at me, (next pages router, trpc, prisma)... Anyone have any ideas, hopefully im just being stupid. One thing i did change (but cant see how it would affect this) was post generation, change the database to be postgres from mysql. Including some env vars from vercel too. Given that it was generated from ct3a, i believe that the version i am on is the trpc 11 release candidate
No description
No description
Solution:
I found the answer I believe, this issue occurred after i was messing around in tsconfig and turned off strict mode. Turn strict mode on and it may solve this like it did for me.
Jump to solution
1 Reply
Solution
Max
Max5mo ago
I found the answer I believe, this issue occurred after i was messing around in tsconfig and turned off strict mode. Turn strict mode on and it may solve this like it did for me.
Want results from more Discord servers?
Add your server