K1|ller
K1|ller
Explore posts from servers
PPrisma
Created by Abhinav on 6/7/2024 in #help-and-questions
Can't reach database server at `aws-0-ap-south-1.pooler.supabase.com:5432`
but what it won't work is realtime, a week of emails already, I'm 99% sure they have problems with it
56 replies
PPrisma
Created by Abhinav on 6/7/2024 in #help-and-questions
Can't reach database server at `aws-0-ap-south-1.pooler.supabase.com:5432`
I'm using supabase too and it works
56 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
btw i'm using v4
14 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
You can create other properties and pass them to the session but I have had typesafe issue with that so I have a context with the user. To be honest I haven't gone deeper with it, there must be a smarter way, I use the session to get the email, the email is my weapon for verifying who's logged in
14 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
that's: name, email, imageUrl
14 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
next auth in server or client side will only return what's in the cookie
14 replies
PPrisma
Created by Xavier on 6/5/2024 in #help-and-questions
Supabase with prisma
let me know if you solved the problem
7 replies
PPrisma
Created by Xavier on 6/5/2024 in #help-and-questions
Supabase with prisma
they updated it not long ago
7 replies
PPrisma
Created by Xavier on 6/5/2024 in #help-and-questions
Supabase with prisma
yeah there are 2 different connections it needs
7 replies
PPrisma
Created by charley on 6/2/2024 in #help-and-questions
Is it bad practice to depend on the unique constraint while creating a new object?
nope, just translate it into something different
17 replies
TTCTheo's Typesafe Cult
Created by miikee on 6/4/2024 in #questions
If you are using NextAuth, how are you accessing Auth data in Client Components?
yeah you can get the session with that hook but personally I keep in sync the user that was created in the DB, I don't care much about the session
14 replies
PPrisma
Created by charley on 6/2/2024 in #help-and-questions
Is it bad practice to depend on the unique constraint while creating a new object?
a reusable banner let's say
17 replies
PPrisma
Created by charley on 6/2/2024 in #help-and-questions
Is it bad practice to depend on the unique constraint while creating a new object?
You should have a banner in your website that display the errors that come from the backend
17 replies
PPrisma
Created by charley on 6/2/2024 in #help-and-questions
Is it bad practice to depend on the unique constraint while creating a new object?
Ii'll reply again i didn't like my previous answer. If you set the email field to unique you'll get an error if you try to use the same email to create another account. You just manage the error properly.
17 replies
PPrisma
Created by charley on 6/2/2024 in #help-and-questions
Why can't I access profile in user? (ORM) (Postgres)
are you using typescript? you'll get autocomplete in the case it exists
7 replies
TTCTheo's Typesafe Cult
Created by K1|ller on 4/15/2024 in #questions
this works but nope?
awesome man thanks, been busy to read about it i'm literally guessing how it works :theowat:
3 replies
TTCTheo's Typesafe Cult
Created by i.am.the.honored.one on 1/21/2024 in #questions
Seeking a career/life advice.
that sucks
82 replies
TTCTheo's Typesafe Cult
Created by i.am.the.honored.one on 1/21/2024 in #questions
Seeking a career/life advice.
also very easy to get a job lol
82 replies
TTCTheo's Typesafe Cult
Created by i.am.the.honored.one on 1/21/2024 in #questions
Seeking a career/life advice.
what i like about the US is that at age of 35 you are still young, here in chile i'm considered old
82 replies