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
Currently TypedCookie.serialize's parameter only allows the type of z.infer of the schema, which creates difficulties to use with zod's data transforming feature.
I believe it should take z.input instead?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently
TypedCookie.serialize
's parameter only allows the type ofz.infer
of the schema, which creates difficulties to use withzod
's data transforming feature.I believe it should take
z.input
instead?Beta Was this translation helpful? Give feedback.
All reactions