EQ
EQ
Explore posts from servers
TTCTheo's Typesafe Cult
Created by EQ on 2/25/2024 in #questions
Image uploading concurrency Prisma
Or maybe something even better if possible
3 replies
TTCTheo's Typesafe Cult
Created by EQ on 7/24/2023 in #questions
Prisma Return Type
so if I do findOne(email, { id: true }) it also shows for example the first, last name etc in intellisense/autocomplete
7 replies
TTCTheo's Typesafe Cult
Created by EQ on 7/24/2023 in #questions
Prisma Return Type
But then it shows all the types findOne has instead of what I only selected
7 replies
TTCTheo's Typesafe Cult
Created by EQ on 6/11/2023 in #questions
One to one and one to many
3 replies
TTCTheo's Typesafe Cult
Created by EQ on 6/10/2023 in #questions
Prisma Date Day Off
I just added UTC after the day, got fixed, thanks 🙂
9 replies
TTCTheo's Typesafe Cult
Created by EQ on 6/10/2023 in #questions
Prisma Date Day Off
Ah okay, thanks
9 replies
TTCTheo's Typesafe Cult
Created by wolfmansbrother. on 1/5/2023 in #questions
How do i find my previous question if i don't remember how it is worded.
Discord really should add a function to see all your posts back
7 replies
TTCTheo's Typesafe Cult
Created by EQ on 1/1/2023 in #questions
NextJS middleware
Unfortunately, I don't use NextAuth since I have an external backend for some reasons
4 replies
TTCTheo's Typesafe Cult
Created by EQ on 12/17/2022 in #questions
Zod - `require_error` in string not working when also using `min`
I got it fixed, if you use min 1 in combination with 2, it will work
5 replies
TTCTheo's Typesafe Cult
Created by EQ on 12/17/2022 in #questions
Zod - `require_error` in string not working when also using `min`
Then what is the best way to say that name is required? Or is that not possible?
5 replies
TTCTheo's Typesafe Cult
Created by EQ on 12/3/2022 in #questions
Is it safe to save user role in JWT token with NextAuth?
not when you go to other pages via the router which does not hard refresh
47 replies
TTCTheo's Typesafe Cult
Created by EQ on 12/3/2022 in #questions
Is it safe to save user role in JWT token with NextAuth?
Every time you visit the site, for example hard refresh, new tab etc
47 replies
TTCTheo's Typesafe Cult
Created by EQ on 12/3/2022 in #questions
Is it safe to save user role in JWT token with NextAuth?
This way, everytime the user reloads the page, it updates the role if it is changed which is good
47 replies