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

Replace deprecated HttpModule from @nestjs/common with @nestjs/axios #651

Merged
merged 5 commits into from
Dec 22, 2022

Conversation

keks42
Copy link
Contributor

@keks42 keks42 commented Jun 17, 2022

As the new axios HttpModules respects the environment variables HTTP_PROXY, HTTPS_PROXY and NO_PROXY, there is no need to configure it explicitly anymore.

This fixes issue #390

@ugrave
Copy link

ugrave commented Sep 12, 2022

Any plans to merge this PR?

@keks42
Copy link
Contributor Author

keks42 commented Sep 12, 2022

@wing328 @kay-schecker
As you merged the last PRs in this repo - do you know who might be able to review this PR and decide if it can be merged?

@rishabh1212
Copy link

@feodorar when can this PR be merged?

@feodorar
Copy link

feodorar commented Dec 6, 2022

@rishabh1212 That is out of my hands, I'm afraid. I just did a peer review...

@wing328
Copy link
Member

wing328 commented Dec 6, 2022

Sorry for the delay in reviewing this change.

Please take a look at the build errors.

Not sure if it's related to 49b383b.

Once resolved, I'll try to handle it with higher priority.

@wing328
Copy link
Member

wing328 commented Dec 6, 2022

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/setup-node@v2

I think that's probably the reason.

Please update the github workflow accordingly as part of this PR. Thank you.

@keks42
Copy link
Contributor Author

keks42 commented Dec 7, 2022

@wing328
Thank you so much for the review (& for already merging the master for me)

The problem with the failing pipeline was me not having executed yarn install properly which made "yarn --frozen-lock" fail because of differences in the yarn.lock-file. Now that I did that properly and fixed the yarn.lock-file it should be successful.

Although the node version should not have been a problem, I looked into it. I upgraded all github actions and it looks like you use a matrix build strategy but did not define the values to be used for the node-version. I added the node version 16.x which should use version 16 with the latest minor and patch version. So in the future it can be assured to run with multiple versions.

Seems as if there is an approval needed for the pipeline to run, so let's see if it is successful now.

@rishabh1212
Copy link

@wing328 @keks42 it is still awaiting approval from some reviewer who has the write access.

@keks42
Copy link
Contributor Author

keks42 commented Dec 22, 2022

@wing328
Thanks for the approval! :)
What is missing now for all the checks to complete? I do not understand the last thing that is still expected :/

@wing328 wing328 merged commit 66b78ff into OpenAPITools:master Dec 22, 2022
@wing328
Copy link
Member

wing328 commented Dec 22, 2022

No idea why the last step stuck at build state.

I've gone ahead to merge it. Let's see how that goes.

Thanks again for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants