Jeremy Liberman
Jeremy Liberman
I get what you're saying, but Blitz.js isn't Next.js and the goals of the projects aren't necessarily the same. Blitz is, at least partially, defined by what it builds on...
Yes. It's always going to be a facet of automatic static optimization. I can see why nextjs couldn't do it, but blitz can assume users will be running a web...
@Slein2012 check if you get the proper styling if you change the authenticate call: ```diff - BlitzPageName.authenticate = true + BlitzPageName.authenticate = { redirectTo: "/login" } ``` While these lines...
This is something I'm toying with as a solution, but I'm not 100% on it yet. Example usage: ```diff # changePassword.test.ts const currentPassword = "Password01" const newPassword = "Password02" const...
@vincentrolfs Looks nice. What typescript error did you see? I didn't get any type errors when I tried it. If this is going to be a core utility, I think...
Thank you for reporting this!
Great suggestion!
This is fixed in [v0.3.0 of prisma-ast](https://github.com/MrLeebo/prisma-ast/releases/tag/v0.3.0), blitz is still on 0.2.6, so a simple upgrade of the dependency should do the trick
I agree that classes and regexes aren't ideal for serialization. Seems like it would be better to limit classes to the standard library by default. Serializing regexes is also problematic...
Yeah, I think they should be forbidden. Can't think of any reason why you'd want your server to execute some arbitrary code given to it by the client.