Closed TheYarin closed 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.
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?
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.
Ok, thank you! I really appreciate it!
If possible, what about suggesting CLI design?
How interface do you want?
@TheYarin The reason why you wanna manual compilation is for frontend development?
@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.
If you're developing backend server, I planned to introduce nestia, but your story is clearly different.
If possible, what about suggesting CLI design?
How interface do you want?
package.json
script.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!
Will support through https://github.com/samchon/typia/issues/509
@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
The problem: Typia requires build config changes of the entire project in order to run
An overview of the suggested solution: Add a CLI option that compiles the different validation functions given a specific type (TS file), removing the build dependency on ttsc.
Examples of how the suggestion would work in various places:
And then, in
src/main.ts
: