Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add FormData as an input type on schemas #262

Merged
merged 1 commit into from
Mar 17, 2023
Merged

Conversation

KATT
Copy link
Contributor

@KATT KATT commented Mar 17, 2023

Is this kosher to how you're using the library?

I'm looking to do an integration with tRPC and I don't wanna do as anys when submitting formData :)

Otherwise, I might be missing some easy coercion between a raw FormData and a FormDataLike-object that matches my schema

@vercel
Copy link

vercel bot commented Mar 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
remix-validated-form ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 17, 2023 at 10:56AM (UTC)

@airjp73
Copy link
Owner

airjp73 commented Mar 17, 2023

Yeah, if FormDataLike isn't doing the trick, I think this should be okay.

@airjp73 airjp73 merged commit 2001787 into airjp73:main Mar 17, 2023
@KATT KATT deleted the formdata branch March 17, 2023 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants