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

Close #380 - prohibit non-strict option #381

Merged
merged 1 commit into from
Jun 9, 2023
Merged

Close #380 - prohibit non-strict option #381

merged 1 commit into from
Jun 9, 2023

Conversation

samchon
Copy link
Owner

@samchon samchon commented Jun 9, 2023

Too many nestia users are confusing by legacy projects that had configured strictNullChecks: false, and mis-report to my repo saying "nestia seems broken".

I think it would better to entirely prohibit strictNullChecks: false option in compliation level. Therefore, since v4.0.4 update, strictNullChecks: false would be compilation error in every nestia utilizing projects.

Also, made SDK generator to prohibit implicit return in controller method without any type definition. It's because if SDK allows object literal expression without type definition, client developers utilizing the SDK library would be crazy due to they have to read backend server code.

Too many `nestia` users are confusing by legacy projects that had configured `strictNullChecks: false`, and mis-report to my repo saying "nestia seems broken".

I think it would better to entirely prohibit `strictNullChecks: false` option in compliation level. Therefore, since v4.0.4 update, `strictNullChecks: false` would be compilation error in every nestia utilizing projects.

Also, made SDK generator to prohibit implicit return in controller method without any type definition. It's because if SDK allows object literal expression without type definition, client developers utilizing the SDK library would be crazy due to they have to read backend server code.
@samchon samchon added the enhancement New feature or request label Jun 9, 2023
@samchon samchon self-assigned this Jun 9, 2023
@samchon samchon merged commit 9281dfb into master Jun 9, 2023
@samchon samchon deleted the features/strict branch June 9, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant