-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
Problem with axios instance and getUri #2174
Comments
@Midnighter this seems to relate to #2190, please let me know if that issue is addressing the same issue, there is a pull request for that issue. |
@Midnighter
|
I will give it a try over the weekend. |
Following.
|
@pvsiddhartha i encountered the same problem and to only find out that my url is invalid. |
@Alanscut I have made a code sandbox and noticed a few things:
|
Describe the bug
I would like to use the new
getUri
method on an axios instance. However, when I attempt this I get a type error.To Reproduce
The following works:
but with an axios instance it does not:
I have also tried creating the instance with
url
andbaseUrl
instead but then I get a different type error.Expected behavior
I expect the second example to return the same URL with the parameters of the instance and the method call being merged.
Environment
buildUrl
is undefined)The text was updated successfully, but these errors were encountered: