samchon / typia

Super-fast/easy runtime validators and serializers via transformation
https://typia.io/
MIT License
4.45k stars 153 forks source link

When should I use a factory function? #522

Closed TheYarin closed 1 year ago

TheYarin commented 1 year ago

The docs mention the factory functions API, but not when (or why) they should be used. Looking at issue #247, it looks like factory functions are intended to solve some transform issues that happen when passing around the normal functions. It's worth updating the docs (both the README and the wiki) around these functions, because currently typia's API is pretty confusing, two ways to reach the same result without an obvious difference between them.

samchon commented 1 year ago

Will update guide documents on https://typia.io

Thanks for suggestion.