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

disallow ofetch versions lower than 1.4.0 #199

Merged
merged 2 commits into from
Oct 4, 2024

Conversation

manchenkoff
Copy link
Owner

Is your PR related to a specific issue/feature? Please describe and mention issues.

This PR introduces ofetch as actual dependency to prevent type misleading when working with Headers in the interceptors.

However, if object was overwritten during custom interceptor in client's code, we do not expect entries() to be a part of the headers, so object logging will be applied.

@manchenkoff manchenkoff linked an issue Oct 4, 2024 that may be closed by this pull request
@manchenkoff manchenkoff self-assigned this Oct 4, 2024
@manchenkoff manchenkoff changed the title 198-normalize-headers-in-output disallow ofetch versions lower than 1.4.0 Oct 4, 2024
@manchenkoff manchenkoff merged commit 27e25cb into main Oct 4, 2024
4 checks passed
@manchenkoff manchenkoff deleted the 198-normalize-headers-in-output branch October 4, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] context.options.headers.entries is not a function
1 participant