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

Is it normal that assertParse, validateParse functions do not handle Date? #1451

Closed
ismailkarsli opened this issue Jan 2, 2025 · 2 comments

Comments

@ismailkarsli
Copy link

Typia Playground

The JSON parse functions does not parse Dates and returns an error. Is this a bug or a deliberate decision?

@samchon
Copy link
Owner

samchon commented Jan 2, 2025

Use string & tags.Format<"date-time"> type instead.

typia.json.assertParse<T>() function does not have the ability to transforming from primitive object to a specific class type.

@ismailkarsli
Copy link
Author

I can’t change directly since it’s type of Drizzle ORM, but I can try to overwrite date inputs. Thanks.

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

No branches or pull requests

2 participants