`drizzle-zod` and `z.nativeEnum()`

struggling to get drizzle-zod to work with z.nativeEnum after upgrading - as per the image, if i provide z.nativeEnum during createSelectSchema, it overrides all other types generated by drizzle-zod (see last 4 lines)
No description
2 Replies
devlsh
devlshOP3mo ago
for comparison, this is [email protected]
No description
Mario564
Mario5643mo ago
This is a known issue. The patch for it has been merged but not released yet.

Did you find this page helpful?