-
Notifications
You must be signed in to change notification settings - Fork 11
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
Browser Support #5
Comments
The fetch_api package is intended for web use, which would explain why it's relying on Possible Solutions:
|
Any updates on this issue ? |
Hi, I'm Was checking usage of package and stumbled upon this issue. We've fixed it in last version, so you can now import client in VM (it will throw As a side note, when you use web only package (which uses Hope this will help to resolve this! |
@Imgkl Do I understand correctly, that the I'm looking into using |
Please give this a try. I couldn't get the condition import to work or the vm method. I'm happy to merge at as soon as possible if the web support is working. |
@Imgkl good, will try it out tomorrow 👍 |
I tested browser support with We have two possible solutions: 1. Instantiating FetchClient inside the
|
Option 1 feels more user-friendly choice, especially for DX. We do need to write tests for mapping and Ideally we should lock the But that said, I was also worrying about the
Maybe we can have a new model called |
I agree that this is better DX. I'll go ahead and implement it using |
References
fetch
API dart-lang/http#595The text was updated successfully, but these errors were encountered: