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
[@zod generator error]: Validator 'min' is not valid for type 'Float', for specified '@zod.[key] or for 'z.array.[key]'. [Error Location]: Model: 'Filters', Field: 'currentUniversalCashbackPercentage'.
I have this line in my Prisma schema:
I get this error on generating:
Switching to
gte()
works fine. Relevant section of thezod
docs: https://github.com/colinhacks/zod#numbersThe text was updated successfully, but these errors were encountered: