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

Resolve path from axios request #67

Open
pawfa opened this issue Sep 22, 2022 · 0 comments · May be fixed by #73
Open

Resolve path from axios request #67

pawfa opened this issue Sep 22, 2022 · 0 comments · May be fixed by #73
Assignees
Labels
enhancement New feature or request

Comments

@pawfa
Copy link
Collaborator

pawfa commented Sep 22, 2022

It is a follow up of a review and implementation of #48 issue.

It is possible to resolve path from axios function call.
const {data} = await axios.get<string>('/api');

Url is always the first argument of axios call. It might take different forms which need to be handled, for example it could be simple string, template string, concatenated string, variable from other module, etc.

The final result of the type sent to function is always string.

@pawfa pawfa added the enhancement New feature or request label Sep 22, 2022
@pawfa pawfa self-assigned this Sep 22, 2022
@pawfa pawfa linked a pull request Oct 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant