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
The problem is ORM level like prisma which has DateTime type so string like 2023-09-25 is valid for class-validator but invalid for Prisma which leads to exception "Invalid value for argument startsAt: premature end of input. Expected ISO-8601 DateTime."
Proposed solution
Add an extra parameter something like isDateTime which checks if a string has time.
The text was updated successfully, but these errors were encountered:
Description
The problem is ORM level like prisma which has DateTime type so string like 2023-09-25 is valid for class-validator but invalid for Prisma which leads to exception "Invalid value for argument startsAt: premature end of input. Expected ISO-8601 DateTime."
Proposed solution
Add an extra parameter something like isDateTime which checks if a string has time.
The text was updated successfully, but these errors were encountered: