Nest: Replace axios by different http package

Created on 29 Feb 2020  路  3Comments  路  Source: nestjs/nest

Feature Request

Is your feature request related to a problem? Please describe.

Axios project is dead. Even with 8.3 mln of downloads, project is no longer maintained.

https://github.com/axios/axios/issues/1965

Describe the solution you'd like

Switch to gaxios

needs triage type

Most helpful comment

I don鈥檛 think Gaxios - even if maintained by Google - has yet reached maturity.

I actually left a comment on the issue you have mentioned. Unfortunately, there has not been a discussion revolved around that yet as far as I know.

Axios has some problems with maintainers, though maintenance is still being done. If you have a look at the commit history, you鈥檒l see it is still actively maintained.

I do not see a reason, to potentially introducing breaking changes out of thin air from the perspective of NestJS, because of the current state of Axios.

All 3 comments

I don鈥檛 think Gaxios - even if maintained by Google - has yet reached maturity.

I actually left a comment on the issue you have mentioned. Unfortunately, there has not been a discussion revolved around that yet as far as I know.

Axios has some problems with maintainers, though maintenance is still being done. If you have a look at the commit history, you鈥檒l see it is still actively maintained.

I do not see a reason, to potentially introducing breaking changes out of thin air from the perspective of NestJS, because of the current state of Axios.

I would say that the only possible alternative to Axios as of now would have been Request package. But unfortunately, it got deprecated at Feb 11, 2020.

Please note - NestJS is a modular framework. HttpModule is shipped as an example. If you don't want to use Axios, you can use any other existing library.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raydirty picture raydirty  路  37Comments

darioxtx picture darioxtx  路  43Comments

weeco picture weeco  路  28Comments

galkowskit picture galkowskit  路  45Comments

BrunnerLivio picture BrunnerLivio  路  44Comments