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

Entirely remake nestia for TS 5.2 transform API #347

Open
samchon opened this issue May 18, 2023 · 2 comments
Open

Entirely remake nestia for TS 5.2 transform API #347

samchon opened this issue May 18, 2023 · 2 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@samchon
Copy link
Owner

samchon commented May 18, 2023

Related issues:

TypeScript team had decided to support formal transform API since v5.2 update.

However, as TS v5.2 transform API provides types of typescript/lib/tsclibrary instead of typescript, typia must be entirely rewritten. In such reason, typiawould be rewritten with break changes. Also, asnestia is utilizing TypeScript API in not only transformation mode(@nestia/core) but also generation (@nestia/sdk) mode, nestia` must be entirely rewritten with major version update.

Release date of TS 5.2 may 2023-08, but nestia v2 would be released a little bit earlier. It's because next nestia will support both ts-patch and TS 5.2 transform API. When you run npx nestia setup, it will configure tsconfig.json file properly considering TS version. If TS version is lower than 5.2, ts-patch would be utilized. Otherwise, pure typescript would be utilized.

@samchon samchon added documentation Improvements or additions to documentation enhancement New feature or request labels May 18, 2023
@samchon samchon self-assigned this May 18, 2023
@ilterugur
Copy link

Hello. Would it be possible to export only types (with SDK generator) but no sdk on nestia's new remaked version?

@samchon
Copy link
Owner Author

samchon commented Aug 15, 2023

Hello. Would it be possible to export only types (with SDK generator) but no sdk on nestia's new remaked version?

I didn't understand the question. What are you curious about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants