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

support to stringify invalid dates #61

Merged
merged 4 commits into from
Apr 19, 2024

Conversation

ivanhofer
Copy link
Contributor

fixes #51

@ciscoheat
Copy link

Any plans to merge this? I'm approaching v1.0 for Superforms, it would be great to have this, to be able to send invalid dates back to the client, instead of setting them to undefined, violating the schema type.

@ciscoheat
Copy link

This would be very nice to have, now that version 2 of Superforms is underway!

@ciscoheat
Copy link

Getting close to Superforms v2 alpha release now. I wouldn't want to include devalue in the library and patch it, so if you have some time to merge this support for invalid dates, that would be very nice.

@Rich-Harris Rich-Harris merged commit 127d655 into Rich-Harris:master Apr 19, 2024
3 checks passed
@Rich-Harris
Copy link
Owner

Thank you Ivan, wherever you are ❤️

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.

don't throw an error on invalid dates when using stringify
3 participants