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
We currently can't do z.object({ ... }).optional() with nextlove's formData, it will always fail to parse, so instead we do a hack where we do z.union([z.any(), z.object({ ... })]), let's fix this!
yea this is imo a nextlove bug, we should be able to do `.optional()`
We currently can't do
z.object({ ... }).optional()
with nextlove's formData, it will always fail to parse, so instead we do a hack where we doz.union([z.any(), z.object({ ... })])
, let's fix this!Originally posted by @seveibar in https://github.com/seamapi/seam-connect/pull/4685#discussion_r1371085647
The text was updated successfully, but these errors were encountered: