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

Full support for axios replacement (haxios ;-)) #446

Closed
simllll opened this issue Oct 8, 2021 · 1 comment
Closed

Full support for axios replacement (haxios ;-)) #446

simllll opened this issue Oct 8, 2021 · 1 comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@simllll
Copy link

simllll commented Oct 8, 2021

Is your feature request related to a problem? Please describe.
Right now it's not possible to use gaxois as a drop-in replacmenet for axios, as there are some core things missing:

  • get, post, etc helper methods are not available
  • there is no built-in support for interceptors
  • not all config options are supported

Describe the solution you'd like
Allow an (almost) identical API of current axios, to allow gaxios as an 1:1 replacement.

I added the missing functionality in "haxios" which is based on gaxios: https://github.com/hokify/haxios

My question now is: are you interested in bringing this into gaxios? Or is this by design not supported? If so ,what are the reasoning for it? If not, how can I help to make this happening? :)

@simllll simllll changed the title Full support for axios replacement Full support for axios replacement (haxios ;-)) Oct 8, 2021
@chingor13 chingor13 added the type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. label Oct 8, 2021
@danielbankhead
Copy link
Contributor

Ultimately we would like to transition this library to be an interface on top of fetch for cross-platform compatibility:

Thanks for your feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants