dexie
WWasp
•Created by chilled_techie on 1/2/2025 in #đŸ™‹questions
Disable Database
Yup, I very well understand that wasp is just getting up to speed. Your approach totally makes sense, sorry for doubt! Glad this feature is not off the radars đŸ™‚
14 replies
WWasp
•Created by chilled_techie on 1/2/2025 in #đŸ™‹questions
Disable Database
I understand the point about "full-stack", but in general, persistence layer might not only be a database, but also some web api, or redis key-value store, or some event bus, which is far beyond what prisma can offer. But it is still a "full-stack" application, and it still will benefit from what wasp offers. Maybe it is worth to consider that usecase in the future framework design, especially because rails, laravel, asp, spring, etc. already support that.
inb4 nobody asked sorry, don't want to bother you, just thinking out loud
14 replies
WWasp
•Created by chilled_techie on 1/2/2025 in #đŸ™‹questions
Disable Database
@Filip what if I am building BFF (backend-for-frontend) and really don't need a DB in production?
14 replies
WWasp
•Created by dexie on 12/29/2024 in #đŸ™‹questions
Prisma logging (and other PrismaClient modifications)
yeah, got it, thank you!
25 replies
WWasp
•Created by dexie on 12/29/2024 in #đŸ™‹questions
Prisma logging (and other PrismaClient modifications)
Oh no, no luck with logging, too. Log events are supposed to be enabled when instantiating PrismaClient, i.e.
25 replies
WWasp
•Created by dexie on 12/29/2024 in #đŸ™‹questions
Prisma logging (and other PrismaClient modifications)
I am hesitant regarding typesafety of extensions doing it this way, because you are supposed to used ExtendedPrismaClient type instead of bare PrismaClient, but will report back soon
25 replies
WWasp
•Created by dexie on 12/29/2024 in #đŸ™‹questions
Prisma logging (and other PrismaClient modifications)
Oh, didn't think about server setup fn! Will try extending prisma now.
25 replies