We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
axios 1.x 系で @aspida/axios を使用すると
@aspida/axios
throw new AxiosError('options must be an object', AxiosError.ERR_BAD_OPTION_VALUE);
のようなエラーが生じます。
Repro: https://stackblitz.com/edit/aspida-axios-1-x?file=index.ts&view=editor
peerDependencies があれば warning が出てくれるのですが…(関連: #776)
peerDependencies
詳細は追いきれていませんが、paramsSerializer の指定方法が変わっているようです。
paramsSerializer
The text was updated successfully, but these errors were encountered:
axios v1.3.5でparamsSerializerが関数を受け取るようになった( axios/axios@a56c866) ので、エラーは解消したと思います。
Sorry, something went wrong.
v1.13.0からaxios v1でテストを実施するようにしました
Successfully merging a pull request may close this issue.
Description
axios 1.x 系で
@aspida/axios
を使用するとのようなエラーが生じます。
Repro: https://stackblitz.com/edit/aspida-axios-1-x?file=index.ts&view=editor
Describe alternatives you've considered
peerDependencies
があれば warning が出てくれるのですが…(関連: #776)Additional context
詳細は追いきれていませんが、
paramsSerializer
の指定方法が変わっているようです。The text was updated successfully, but these errors were encountered: