You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a project where we talk to many different instances of the same API that live on different hosts. Currently, it seems like I have to create separate Fetcher for each host, which ends up making our code pretty awkward. I'm not sure the best way to handle this, but I have two ideas.
Expose an option to pass in the baseUrl somehow in the fetch
Provide an alternative api that doesn't require you to create a Fetcher before calling an endpoint
The text was updated successfully, but these errors were encountered:
I'm working on a project where we talk to many different instances of the same API that live on different hosts. Currently, it seems like I have to create separate
Fetcher
for each host, which ends up making our code pretty awkward. I'm not sure the best way to handle this, but I have two ideas.Fetcher
before calling an endpointThe text was updated successfully, but these errors were encountered: