Alan Smithee
TTCTheo's Typesafe Cult
•Created by Alan Smithee on 5/17/2023 in #questions
Prisma in TRPC context
hey, i'm using trpc and i have my prismaclient instance in trpc's context. i sometimes like to put business logic into functions seperate from my procedures. is it fine to just use a prisma instance which isn't in my trpc context or is it a bad idea?
7 replies