-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[bug] http.fetch with timeout integer config cause error #4004
Labels
Comments
hmm idk, imo it's such a weird design choice that serde's default {
"secs": number,
"nanos": number,
} It's understandable from a rust POV i guess, but the chances seeing this format in any json blob is fairly low 😅 |
Yeah for now we can just map an integer to that object. |
lucasfernog
added a commit
that referenced
this issue
Apr 29, 2022
Until the next release is published, you can change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
http.fetch with config
{timeout: 12}
cause Errortest code : https://github.com/Rming/tauri-example
Reproduction
cargo tauri dev
Expected behavior
https://tauri.studio/docs/api/js/interfaces/http.HttpOptions#timeout
may be a bug or doc needs to be updated
Platform and versions
Stack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: