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
zValidator (hono validator) is adding '| File' type to each one of the form fields. So when using RPC on the frontend you end up with the following types.
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
-
When using the following code from the stacks example on the hono website
zValidator (hono validator) is adding '| File' type to each one of the form fields. So when using RPC on the frontend you end up with the following types.
Is there a reason you would want every form field to be a string or a File? I would have thought you would specify exactly what you want?
Beta Was this translation helpful? Give feedback.
All reactions