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

Would love to be able to pass fetch and/or autoParse per request #35

Open
matthewrobb opened this issue May 31, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@matthewrobb
Copy link

I am finding scenarios where I generally want auto-parsing but sometimes I need access to the response object. I would prefer to just pass autoParse: false on those specific calls. Similarly, I am writing code that I want to work in both edge workers and the browser where I would like to be able to pass the fetch override from sveltekit in per request rather than having to create a whole fetcher every server-side call-site.

@kwhitley
Copy link
Owner

I'll take a look to see what it would take for this, but part of the challenge is that we basically treat the per-request options as a direct pass-through to fetch. Blending in our own would mean adding code to separate them back out!

Def not ruling it out though :)

@kwhitley kwhitley added the enhancement New feature or request label May 31, 2023
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

No branches or pull requests

2 participants