begot
PPrisma
•Created by dotEXE on 3/17/2025 in #help-and-questions
Remove the "?" in "user?.post"
5 replies
PPrisma
•Created by dotEXE on 3/17/2025 in #help-and-questions
Remove the "?" in "user?.post"
hey, you have a few good options.
1. add a guard clause at the top:
2. using && pattern for conditional rendering:
3. using nullish coalescing with Prisma:
the guard clause is often used for component-level handling.
5 replies
PPrisma
•Created by dotEXE on 3/16/2025 in #help-and-questions
How to update Prisma @unique
yeah that makes sense. i misunderstood your question earlier. glad you got it working
13 replies
PPrisma
•Created by dotEXE on 3/16/2025 in #help-and-questions
How to update Prisma @unique
use prisma studio for example
13 replies
PPrisma
•Created by dotEXE on 3/16/2025 in #help-and-questions
How to update Prisma @unique
strange. might be worth restarting your ide
13 replies
PPrisma
•Created by dotEXE on 3/16/2025 in #help-and-questions
How to update Prisma @unique
also, if you're able, you should verify that the db has been updated to match your schema
13 replies
PPrisma
•Created by dotEXE on 3/16/2025 in #help-and-questions
How to update Prisma @unique
have you also tried restarting the ts server?
13 replies
PPrisma
•Created by dotEXE on 3/16/2025 in #help-and-questions
How to update Prisma @unique
did you generate after pushing?
13 replies
PPrisma
•Created by xeno on 3/4/2025 in #help-and-questions
Prisma Pulse discontinued - alternatives?
do you guys have a post about this? would be informative
8 replies
PPrisma
•Created by xeno on 3/4/2025 in #help-and-questions
Prisma Pulse discontinued - alternatives?
where do you see it being discontinued? 👀
8 replies
PPrisma
•Created by begot on 2/25/2025 in #help-and-questions
Prisma extension stopped working in Cursor
yeah works for me on Mac as well, super strange
9 replies
PPrisma
•Created by begot on 2/25/2025 in #help-and-questions
Prisma extension stopped working in Cursor
initially yes, but after updating it was fixed. seems like a Cursor issue then
9 replies