samchon / typia

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

Support manual compilation of validators #486

Closed TheYarin closed 1 year ago

TheYarin commented 1 year ago

@samchon I wanna start off by saying you have done an amazing job with this project, you are the hero the TS world needed.

Feature Request

samchon commented 1 year ago

There was someone who suggested same idea and told me that implement these features by himself. However, he has gone without any news. It seems time to support CLI options by myself.

TheYarin commented 1 year ago

Not to rush you or anything but do you think I should hold my breath for this one? Do you think you'll manage to implement this in the next few days, or should I settle for an existing alternative for now?

samchon commented 1 year ago

Not possible in few days.

My next purpose is to implementing protocol buffer functions, and it may be completed in March.

Therefore, this feature may be implemented in April.

TheYarin commented 1 year ago

Ok, thank you! I really appreciate it!

samchon commented 1 year ago

If possible, what about suggesting CLI design?

How interface do you want?

samchon commented 1 year ago

@TheYarin The reason why you wanna manual compilation is for frontend development?

TheYarin commented 1 year ago

@TheYarin The reason why you wanna manual compilation is for frontend development?

No, I wanted to use it for server-side validation, but was deterred by the use of a custom typescript package, especially when it's not well-known enough. It makes auditing harder. Also, it just feels a bit excessive to have to make such configuration changes for something like validation. I also figured a manual compilation option might make it easier for library developers to use Typia.

samchon commented 1 year ago

If you're developing backend server, I planned to introduce nestia, but your story is clearly different.

TheYarin commented 1 year ago

If possible, what about suggesting CLI design?

How interface do you want?

TheYarin commented 1 year ago

If you're developing backend server, I planned to introduce nestia, but your story is clearly different.

It might be relevant, I'll look into it. Thank you!

samchon commented 1 year ago

Will support through https://github.com/samchon/typia/issues/509