Uh oh!
There was an error while loading. Please reload this page.
[Typescript] update addImport method (fix oneOf) - #11689
Conversation
Uh oh!
There was an error while loading. Please reload this page.
macjohnny
left a comment
There was a problem hiding this comment.
thanks for your contribution!
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| if (type == null) { | ||
| return; | ||
| } | ||
There was a problem hiding this comment.
There was a problem hiding this comment.
There was a problem hiding this comment.
can you add tests that are directly related to your code change? i.e. tests that would fail without your change.
There was a problem hiding this comment.
Ok
I ll try to do something
but maybe it would be an example of this in the petstore and test there
I ll think over it
akehir
commented
Feb 23, 2022
Would it make sense to have an example of this in the petstore yaml files? I've run in the bug myself, but it would be good to prevent regressions. |
Uh oh!
There was an error while loading. Please reload this page.
macjohnny
commented
Mar 2, 2022
FYI see also #11719 |
update master
Hi @macjohnny |
macjohnny
commented
Apr 25, 2022
@ksvirkou-hubspot we recently dropped support for typescript below 4, see #12123 |
ksvirkou-hubspot
commented
Apr 26, 2022
@macjohnny |
macjohnny
commented
Apr 26, 2022
I wonder whether they are executed on the CI at all. |
ksvirkou-hubspot
commented
May 27, 2022
No I have no time sorry |

fixes#11679
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(5.3.0),6.0.x