Ramazan
Ramazan
Explore posts from servers
TTCTheo's Typesafe Cult
Created by albatroz on 4/28/2023 in #questions
How to create custom Procedure for serverlesssQ cron provider. And call trcp router.
I think this might be helpful https://trpc.io/docs/server/server-side-calls
3 replies
TTCTheo's Typesafe Cult
Created by Glorrin on 4/27/2023 in #questions
why do we add prisma in ctx instead of using import ?
Could you give an example of what you mean?
8 replies
TTCTheo's Typesafe Cult
Created by .vithis on 4/28/2023 in #questions
What react date picker are you using?
If you want to have more freedom as to the design, here's a headless date/date-range picker I like to use https://github.com/rehookify/datepicker
5 replies
TTCTheo's Typesafe Cult
Created by mohlx on 4/28/2023 in #questions
Why prisma do 2 seperate Queries instead of 1 left join?
That's... just how it works, unfortunately. I don't believe there are any plans to address this short term. Some threads to follow on this issue: https://github.com/prisma/prisma/discussions/12715 https://github.com/prisma/prisma/issues/12582 https://github.com/prisma/prisma/issues/15616
4 replies
TTCTheo's Typesafe Cult
Created by deforestor on 4/28/2023 in #questions
PlanetScale workflow confuses me
You should be able to adjust how much memory/cpu/storage docker takes up in Settings->Resources->Advanced
28 replies
TTCTheo's Typesafe Cult
Created by SGeri on 4/21/2023 in #questions
Serverless (Vercel) Prisma Cold Start Optimizations
Using the experimental json protocol is definitely one
30 replies
TTCTheo's Typesafe Cult
Created by jairrard on 4/22/2023 in #questions
how tight should types be?
You need to add _id and name to the other two union members I believe
12 replies
TTCTheo's Typesafe Cult
Created by Aviv on 2/21/2023 in #questions
Some Tailwind classes have no affect
Do you have a theme in your tailwind config? If so, does it extend or override the screens property?
56 replies
TTCTheo's Typesafe Cult
Created by Mendy on 2/19/2023 in #questions
PostgreSQL: Best pgAdmin4 Alternative?
I’m using TablePlus and find it pretty good. The trial limits you to a single connection and a single tab at a time, which gives you a fair overview of the product. It’s also a lifetime license and not a subscription. P.s. If you have an edu email you can get DataGrip for free.
13 replies
TTCTheo's Typesafe Cult
Created by utdev on 2/7/2023 in #questions
Wrapper around Next Image component
Wait are you trying to access those with props.src?
5 replies
TTCTheo's Typesafe Cult
Created by utdev on 2/7/2023 in #questions
Wrapper around Next Image component
Hmm yeah that would be odd, you can specify the ImageFromBucketProps as extends ImageProps and add those on
5 replies
TTCTheo's Typesafe Cult
Created by utdev on 2/7/2023 in #questions
Wrapper around Next Image component
You can do something like
export default function ImageFromBucket({ src, alt, className, height, width, loader, …props}: ImageProps) {

};
export default function ImageFromBucket({ src, alt, className, height, width, loader, …props}: ImageProps) {

};
5 replies
TTCTheo's Typesafe Cult
Created by Ramazan on 2/1/2023 in #questions
`getServerSideProps` fails silently and returns 404
Im fiddling with a monorepo setup trying to get Prisma to work with a custom output dir. It’s failing to start up which is probably what’s causing this
5 replies
TTCTheo's Typesafe Cult
Created by char on 2/1/2023 in #questions
What's everyone using for implementing google sso?
Since you mentioned your app is Django I think a good Python option is Authlib https://authlib.org
7 replies