-
Notifications
You must be signed in to change notification settings - Fork 557
regenerate client #2599
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
regenerate client #2599
Conversation
Without modifying the openapi-generator, I tested two approaches to resolve the AbortSignal type import in the generated code:
{
"compilerOptions": {
"paths": {
"node-fetch/externals": ["./node_modules/@types/node-fetch/externals.d.ts"]
}
}
}
|
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
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cjihrig, mstruebing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This updates the openapi generator regarding: #2189
as mentioned here: #2189 (comment)There is an issue with the AbortSignal, I know it's not needed anymore in newer node versions but that means we need to adjust the generator first if we would want to remove it (or, but that would be a bad solution, patch the output of the generator in the kubernetes-client/javascript repository).Maybe someone else knows how to fix it?If not, I will go ahead and adjust the generator soonish.
AbortSignal
was added in NodeJS 15.0.0 so it should be fine to useEDIT: Just got reminded by a notification that this is in flight: #2583