Fecony
Fecony
WWasp
Created by Leonardo Schwartz on 2/21/2025 in #đŸ™‹questions
Why prisma instead of drizzle?
All of this is understandable why drizzle is better But… here we are :boifather2:
16 replies
WWasp
Created by Leonardo Schwartz on 2/21/2025 in #đŸ™‹questions
Why prisma instead of drizzle?
also thinking about this, "lapsa" I was working on is implemented in react, if there will be new UI, I would have to rewrite it some way to work on vue (for example) so have 2 copies... maybe Astro approach of different ui's would fit Wasp in this terms, so future libraries are not dependant on any implementation, and won't die cause of some new ui feature
16 replies
WWasp
Created by Leonardo Schwartz on 2/21/2025 in #đŸ™‹questions
Why prisma instead of drizzle?
for me when prisma dsl is a pain đŸ˜¸ I didn't like it initially, but I liked the idea if new ORM, even tho it lacked json, tools, and some other stuff, like bringing new pain with migrations with drizzle you still have migrations, and your table schemas depends on what db you use, each drizzle/<db-adapter> has its own definition syntax and it's a pain.. yet it's not separate file with it's own dsl
16 replies
WWasp
Created by Leonardo Schwartz on 2/21/2025 in #đŸ™‹questions
Why prisma instead of drizzle?
From what I remember Drizzle simply didn’t exist back then
And it’s not possible to just swap pieces of some tech in few minutes Also think about this: wasp chose Lucia for auth. Now Lucia is dead and no one could have foreseen this, there is better-auth now, but who knows if it won’t die as well? Building framework will all pieces being replaceable sounds nice, but simply impossible when framework actually provides something that you don’t have to think about. Of course with time and more abstraction it will become like laravel where auth doesn’t care what a you use, because you control flow of how things work and then you understand that Laravel is just a router with DI
16 replies
WWasp
Created by isaiah on 2/19/2025 in #đŸ™‹questions
main.wasp.ts related
It does run install if you did clean before đŸ¤”
19 replies
WWasp
Created by Ricardo Batista on 5/12/2024 in #đŸ™‹questions
Threat of clickjacking
15 replies
WWasp
Created by nicop on 12/20/2024 in #đŸ™‹questions
Unable to start wasp
dam you @wardbox
20 replies
WWasp
Created by nicop on 12/20/2024 in #đŸ™‹questions
Unable to start wasp
No description
20 replies
WWasp
Created by nicop on 12/20/2024 in #đŸ™‹questions
Unable to start wasp
No description
20 replies
WWasp
Created by nicop on 12/20/2024 in #đŸ™‹questions
Unable to start wasp
@miho I tried to install roke and get this issue :be:
20 replies
WWasp
Created by Ivan on 1/3/2025 in #đŸ™‹questions
Is it possible to use https://github.com/adrianhajdin/ai_saas_app?tab=readme-ov-file with opensaas?
they have different data format as well so you can't just tell opensaas to use database x and it will magically show data.. still will have to update whatever is missing, + you will be left with part of the template that is not being used at all
16 replies
WWasp
Created by Ivan on 1/3/2025 in #đŸ™‹questions
Is it possible to use https://github.com/adrianhajdin/ai_saas_app?tab=readme-ov-file with opensaas?
it would be more like implementing features you like form one to another, since those 2 are different templates that use their own stack to run..
16 replies
WWasp
Created by Ivan on 1/3/2025 in #đŸ™‹questions
Is it possible to use https://github.com/adrianhajdin/ai_saas_app?tab=readme-ov-file with opensaas?
Then you could copy the admin part and integrate it in template that you like, but it would require adapting it to nextjs
16 replies
WWasp
Created by Ivan on 1/3/2025 in #đŸ™‹questions
Is it possible to use https://github.com/adrianhajdin/ai_saas_app?tab=readme-ov-file with opensaas?
What would be the point of using one saas template with another saas template..?
16 replies
WWasp
Created by indiehacker on 11/23/2024 in #đŸ™‹questions
How to distinguish users by where they were redirected before they logged in
"source" here is just identifier for developer basically it's a flag for you to understand where this request came from, if you can understand your own source, you can control where to redirect user In wasp I'm not sure if it is possible to rewrite auth entirely, but you could add additional field, - - add hidden field with _source to form - store source for user - check source on after login or use before and after auth hooks to do this with some sort of storage for this user's request, there are some hints to store something for request and then access it in onAfterSignup/onAfterLogin on this page https://wasp-lang.dev/docs/auth/auth-hooks#executing-code-before-the-oauth-redirect but I'm not sure what would be the best way Maybe of course there is something more straightforward but that's up to wasp team đŸ˜…
20 replies
WWasp
Created by indiehacker on 11/23/2024 in #đŸ™‹questions
How to distinguish users by where they were redirected before they logged in
Usually common practice would be to add to query from where user came from, like source=whatsapp and so on. then on your server you can use that to return different redirect url's for example
20 replies