codu icon indicating copy to clipboard operation
codu copied to clipboard

Migrate tRPC endpoints to Drizzle

Open NiallJoeMaher opened this issue 1 year ago • 3 comments

Expected Behavior

We are trying to move from Prisma to Drizzle and have started to migrate. There are a tonne of endpoints that need to be migrated to Drizzle.

If you want to take an endpoint, just let me know which one is below, and you can take it.

One PR per endpoint, please, since it'll make it easy to test. 🧪

NiallJoeMaher avatar Mar 12 '24 18:03 NiallJoeMaher

Hello @NiallJoeMaher, thanks for opening your first issue! your contribution is valuable to us. The maintainers will review this issue and provide feedback as soon as possible.

github-actions[bot] avatar Mar 12 '24 18:03 github-actions[bot]

I looked into some of these previously. Drizzle and Prismas query API dont overlap completely unfortunately. Are you happy with the querys being recreated in standard SQL?

JohnAllenTech avatar Mar 12 '24 22:03 JohnAllenTech

Prisma VS Drizzle docs https://www.prisma.io/docs/orm/more/comparisons/prisma-and-drizzle#:~:text=Drizzle%20exposes%20the%20underlying%20filter,by%20looking%20at%20string%20filters.

Its from Prisma so I assume theres pros aswell

JohnAllenTech avatar Mar 12 '24 22:03 JohnAllenTech