-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[typescript-axios] replace optional-chaining #7476
[typescript-axios] replace optional-chaining #7476
Conversation
👍 Thanks for opening this issue! The team will review the labels and make any necessary changes. |
@sapphi-red thanks for your PR. |
@macjohnny Yes I think that is better. I will change it. 👍 |
To avoid requiring TypeScript above 3.7.2. refs OpenAPITools#7455
acd56ab
to
d3170cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@sapphi-red can you please merge the most recent master? |
@macjohnny I merged now. |
…or-extension-x-spring-paginated * master: (29 commits) [Core, HTML2] Rendered docs are incomplete (OpenAPITools#7510) [C][Client]Support data callback function (OpenAPITools#7467) [typescript-axios] replace optional chaining (OpenAPITools#7476) [typescript-axios] fix refining `query` (OpenAPITools#7475) [powershell] Updated the Api doc with httpsiging script snippet. (OpenAPITools#7499) [go][client] Fix API docs example generation (OpenAPITools#7489) [ci][test] Fix samples (OpenAPITools#7509) [bug][Java] Honor instantiationMap for default values for array, map, set (OpenAPITools#4982) Fix stringifying of ~= (OpenAPITools#7460) minor formatting change (OpenAPITools#7503) [ruby] Fix generation when generateAliasAsModel is enabled (OpenAPITools#7419) [sonar][ci] Fixes some new recommended "bug" fixes found via Sonar (OpenAPITools#7508) Add option to set recursion limit (OpenAPITools#7491) regenerate java pkmst petstore samples (OpenAPITools#7502) fix issue without http signature auth (OpenAPITools#7504) [ruby] Support for per-operation servers (OpenAPITools#7415) Add a link to react native tutorial (OpenAPITools#7505) update of Objective-C model-body.mustache to support discriminator.mappedModels (OpenAPITools#7471) update samples [ci] Sonar bug fixes (OpenAPITools#7497) ...
Since #7455 uses optional-chaining and it is only supported above TypeScript 3.7.2, this PR replaces optional-chaining to avoid requiring TypeScript 3.7.2.
PR checklist
./bin/generate-samples.sh
to update all Petstore samples related to your fix. 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
@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)