Drizzle with T3 and NextAuth

How difficult is it to use drizzle with NextAuth in T3? I started down the path and ran into all kinds of issues. I eventually worked out all my issues so far but I am concerned at what else I will face in the near future. Looking for suggestions? Should I just continue using drizzle with T3 or wait until it is an option as an ORM in the T3 install (and use Prisma)?
4 Replies
jamiedubs
jamiedubs15mo ago
I know folks using Drizzle + Nextjs with a little bit of hackery, but haven't tried it with T3 specifically
jeff.kershner
jeff.kershnerOP15mo ago
I honestly thought this post would get more attention. I guess I will stick with Prisma but I can't stand the bundle size and all the queries it makes. @Josh I saw another post that you have t3 with app router and drizzle and next auth?!?
Josh
Josh15mo ago
Yep, I also uploaded the boilerplate for it. Check out my gh
owenwexler
owenwexler15mo ago
Using Drizzle with Node/Express was a nightmare too mostly due to the insistence on top-level await to connect to the DB, and as some of you know TLA is very broken in NodeJS right now. After a couple hours of dealing with circular errors and then not even being able to get a single one-to-one relation working I decided to stick with Just Writing SQL… at least for now. Maybe I will revisit it at a later time.
Want results from more Discord servers?
Add your server