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

Add makeFetcher as a primitive of makeService #13

Merged
merged 1 commit into from
May 9, 2023
Merged

Conversation

gustavoguichard
Copy link
Owner

Adds the makeFetcher method which is pretty much the same as makeService but without the method applied so you have to specify the method in the RequestInit.

This is useful for creating proxies and other moments where you want to be able to have a configuration for a service but you don't know the method you are going to call in advance.

@gustavoguichard gustavoguichard merged commit 52a4026 into next May 9, 2023
@gustavoguichard gustavoguichard deleted the make-fetcher branch May 9, 2023 01:56
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.

1 participant