Teodorant, Tech-Priest
Teodorant, Tech-Priest
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Teodorant, Tech-Priest on 5/19/2024 in #questions
How to stop prisma from updating the same row via 3 different update functions at the same time?
I am using a webhook architecture to synchronize my DB with another central DB, when I do a thing such as creating a new row in the central DB, it triggers several creation and update events at the same time, how do I stop prisma from having a race condition where 3 different http requests are trying to mutate the same row?
2 replies
TTCTheo's Typesafe Cult
Created by Teodorant, Tech-Priest on 5/14/2024 in #questions
Tailwind classes aren't applying in dev and sometimes in production when login via credentials
No description
13 replies
TTCTheo's Typesafe Cult
Created by Teodorant, Tech-Priest on 3/29/2024 in #questions
How do I migrate from Next-Auth to Clerk Auth?
I recently started a project with with all options enabled with create T3 stack command, how do I migrate to Clerk without messing up TRPC?
5 replies
TTCTheo's Typesafe Cult
Created by Teodorant, Tech-Priest on 3/26/2024 in #questions
TRPC mutation is giving me an error when trying to implement it
I have this code const mutation = api.auth.addaccount.useMutation(); const handleLogin = async (email: string, password: string) => { await mutation({ email: email, password: password }); }; usemutation is underlined with wavy red and has this error when I hover over it "Property 'useMutation' does not exist on type 'DecorateProcedure<MutationProcedure<{ input: { email: string; password: string; }; output: string; }>>'.ts(2339) "
2 replies
TTCTheo's Typesafe Cult
Created by Teodorant, Tech-Priest on 2/6/2024 in #questions
How do I setup credentials based auth with the app I created with T3 CLI?
No description
9 replies