tawaliou
TTCTheo's Typesafe Cult
•Created by NekoChan on 5/8/2023 in #questions
How to hide database ip when using tRPC + Prisma
Ha
43 replies
TTCTheo's Typesafe Cult
•Created by NekoChan on 5/8/2023 in #questions
How to hide database ip when using tRPC + Prisma
ok
43 replies
TTCTheo's Typesafe Cult
•Created by NekoChan on 5/8/2023 in #questions
How to hide database ip when using tRPC + Prisma
so you're not in production 😅 . Btw did you set the env variable NODE_ENV to "production" ?
43 replies
TTCTheo's Typesafe Cult
•Created by pach on 5/7/2023 in #questions
trpc useQuery adds "?" to the url every fetch, refreshing the page and resetting the state
Yes, it's the eight manner like it did in the doc: https://create.t3.gg/en/usage/trpc#optimistic-updates
9 replies
TTCTheo's Typesafe Cult
•Created by lancear_1265 on 5/8/2023 in #questions
Should zod schema names start with an uppercase letter or not?
Like @nyx (Rustular DevRel) said, just do what you want but keep consistent... If you choose upper keep it don't miss with lower
24 replies
TTCTheo's Typesafe Cult
•Created by NekoChan on 5/8/2023 in #questions
How to hide database ip when using tRPC + Prisma
I think if you're in production you'll not get the stacktrace
43 replies
TTCTheo's Typesafe Cult
•Created by .ReSync on 5/8/2023 in #questions
Trouble getting additional information passed back on the useSession sessionData
check this: https://tawaldevuniverse.hashnode.dev/some-tips-when-using-t3-stack-nextauth-and-models-types
in ths example I add username to session data, you can follow it and add the data you want
4 replies
TTCTheo's Typesafe Cult
•Created by .ReSync on 5/8/2023 in #questions
Trouble getting additional information passed back on the useSession sessionData
If i understand you, you want to add new properties to your session data sent to the front. If it's the issue, there are few steps you can do (i publish an article on it):
4 replies
TTCTheo's Typesafe Cult
•Created by .ReSync on 5/8/2023 in #questions
Trouble getting additional information passed back on the useSession sessionData
Hi
4 replies