You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the following schema below where the fields createdAt and pinUntil are timestamps and they translate to using the Date object from JavaScript:
I cannot coerce the types in drizzle-zod and extend the existing zod types at the same time. For an API server that serializes the request body in a string format, I should be able to coerce the types.
The text was updated successfully, but these errors were encountered:
Report hasn't been filed before.
What version of
drizzle-orm
are you using?0.38.2
What version of
drizzle-kit
are you using?0.30.1
Other packages
[email protected]
Describe the Bug
Consider the following schema below where the fields
createdAt
andpinUntil
are timestamps and they translate to using theDate
object from JavaScript:I cannot coerce the types in drizzle-zod and extend the existing zod types at the same time. For an API server that serializes the request body in a string format, I should be able to coerce the types.
The text was updated successfully, but these errors were encountered: