-
Notifications
You must be signed in to change notification settings - Fork 202
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
Adds options parameter #101
Conversation
…ing fetch call. This allows us to control things like network timeouts and redirects, etc.
any reason this was never merged? This is a useful feature. |
Thanks for the contribution @lizell. This project was unmaintained for a little not not anymore! Are you still interested in helping with this? I've added this to the 2.0 milestone for now. I'm thinking it makes sense to to put this in the |
Wow! That is great news. Yes, we are already using this in production, so the sooner the better. ;) I'll look into the merge conflicts. |
@lizell Since this PR has been added to the 2.0.0 milestone, you should rebase it on the A few comments:
|
I went ahead and rebased this branch off of @lizell are you interested in finishing up the work for this feature? If so feel free to use that rebased branch! I could also help, but it won't be for a few days.
I like the first approach more philosophically, but the 2nd seems more practical. Is there any reason not to go with it for now? |
any update ? would be great to be able to configure timeouts |
So… I'm sorry this took so long, but I have updated the docs, merged changes and done some cleanup and I am ready to push my code. How would you like me to proceed? I don't have write access to I left 3 and 4 untouched, since I think the API changes could wait and be done separately and 4 was apparently already done. |
This change is going to go out with the 2.0 release and was merged in #150 -- closing this PR. |
Adds options parameter to the CALL_API which is passed to the underlying fetch call. This allows us to control things like network timeouts and redirects, etc.
Example:
This is somewhat different than #79 that adds the possible options directly on the
CALL_API
.