Current nestia does not performan class conversion, and recommends to use pure interface type instead.
But no Words about it in the Typia Documentation.
And I don't understand why typia.createRandom<Date>() returns to a valid Date class but
typia.json.assertParse<Date>(new Date().toISOString()); asserts a string as Date.
Example
⏯ Playground Link <= first take a look at this
Feature Request
Please update the Documentation and point out that Typia only works well with primitive types.
It's frustrating if you use a Validator to prevent runtime errors but just get them on another unexpected Place.
It's known that Typia don't work with classes (creates a Object without the methods). @ https://github.com/samchon/nestia/issues/431
But no Words about it in the Typia Documentation.
And I don't understand why
typia.createRandom<Date>()
returns to a valid Date class buttypia.json.assertParse<Date>(new Date().toISOString());
asserts a string as Date.