I noticed defining a Zod schema for datetime types seems to introduce an extra bracket z.string().datetime()(), which causes an error when handling datetime values when using blitz generate. I reviewed the issue in the codebase and it appears to be a quick fix. Will submit a pull request soon!
Paste all your error logs here:
TypeError: zod__WEBPACK_IMPORTED_MODULE_0__.z.string().datetime() is not a function
What is the problem?
I noticed defining a Zod schema for datetime types seems to introduce an extra bracket
z.string().datetime()()
, which causes an error when handling datetime values when using blitz generate. I reviewed the issue in the codebase and it appears to be a quick fix. Will submit a pull request soon!Paste all your error logs here: