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
rodydavis
Would it be possible to interop with multi part formdata in addition to json?
Ideally you could just have the form action attribute point to gen kit and you could define the schema for the fields in the form you expect.
This would also allow for standard HTTP requests and work with multiple file data types.
Progressive enhancement could be even returning form validation errors based on the zod schema too
pavelgj
Today flows follow the callable function protocol. However, it could support multiple protocols.... So for example if the request content type is application/json then it's a callable function, but if it's multipart/form-data we can map each field/part to the JSON object...
The text was updated successfully, but these errors were encountered:
Relevant discussion
https://discord.com/channels/1255578482214305893/1260011253330612254
The text was updated successfully, but these errors were encountered: