Hinky
Explore posts from serversPPrisma
•Created by Hinky on 7/5/2024 in #help-and-questions
Argument transaction tx with prisma accerlate typescript error
Yo yo,
so i have a very long transaction that i am wanting to break up, just for easier maintance. So i want to pass the transaction func as argument however i am getting typescript type mismatch. ( am guessing because of prisma accerlate)
example:
Doing above, ill get this error:
I suppose my main question, is it safe for me to just make this assumption?
3 replies
PPrisma
•Created by Hinky on 6/11/2024 in #help-and-questions
too many db connections on Prisma Accelerate
16 replies
TTCTheo's Typesafe Cult
•Created by Hinky on 1/1/2024 in #questions
typescript trace | autocomplete speed
Hey yall.
personally my project autocomplete is painfully slow some times. and im still a noob needing that autocomplete. Anyway ive done a typescript trace and i was curious what others on t3 app look like if anyone is willing to share.
Host-spot being on the trpc [trpc]/root - about 700ms.
total trace - 13-14 sec, is this similar to what other projects are getting in t3/trpc. mainly to determine if something is wrong in my project or if thisis to be expected
my project trace:
2 replies