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

feat: Initial take on typed headers #12

Merged
merged 2 commits into from
Sep 22, 2024
Merged

Conversation

eliassjogreen
Copy link
Member

Fixes #4

An initial take on implementing typed headers for TypeFetch. We may want to add flags to configure this to be more lax, e.g. allow common headers or even all headers. I have found that lot's of APIs forget to properly add headers to their OpenAPI schemas making our implementation a bit too strict sometimes...

@eliassjogreen eliassjogreen merged commit da50569 into main Sep 22, 2024
4 checks passed
@eliassjogreen eliassjogreen deleted the feat/typed-headers branch September 22, 2024 13:02
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.

Support headers
1 participant