-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[TypeScript] remove supportsES6 option #16187
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
base: master
Are you sure you want to change the base?
Conversation
I've updated the templates to remove
Can someone please take a look as I'm not familiar with the TypeScript client generator? I tested that folder locally (mvn integration) and the build passed. |
@wing328 2 changes needed:
|
Now I got a different errors after applying the patch:
|
Ok, now it reveals a real issue. For the @TiFu any thoughts? I think |
Reverted the change in
Does anyone know what went wrong? |
@wing328 it's a different flavor of the same root cause: in the typescript-axios generator, the I guess it can be fixed by setting Lines 3 to 6 in 4198c23
I'm not sure if there is going to be more issues related to ES modules down the line |
@amakhrov thanks for the explanation. I'll put this PR on hold for the time being as there's not much benefit taking the risk to remove this option. |
I've filed this change to remove supportsES6 option.
If this looks good, I'll remove supportsES6 from the templates and configs. Let me know. Thanks for reviewing the change.
cc @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) @amakhrov (2020/02) @davidgamero (2022/03) @mkusaka (2022/04)
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
(6.3.0) (minor release - breaking changes with fallbacks),7.0.x
(breaking changes without fallbacks)