Benjamin Halsted
Benjamin Halsted
Apologies, but it's been 3 weeks since I put the PR and I had to re-read it. Are you concerned about a JS Map being deserialized into a Rust Struct...
> Any non-string keys can't be deserialized into non-string-keyed Maps, so semantically map-to-map is a more correct conversion. Thank you for the explanation. I'm in a situation where I save...
I think the fundamental difference is that I think any JS iterable should be able to be deserialized into a Rust struct.
Removing [`this section`](https://github.com/cloudflare/serde-wasm-bindgen/pull/14/files#diff-a9463680bdf3fa7278b52b437bfbe9072e20023a015621ed23bcb589f6ccd4b5R487-R496) will prevent the Map deserializing into an Object. Is there anything else needed for the PR?
I'd also like to help!
The best I was able to reproduce was by passing in a bogus oauth token. The streams looked like so: ``` > CAP REQ :twitch.tv/membership > CAP REQ :twitch.tv/tags >...
In your `.cargo/config` file try adding a target: ``` [build] rustflags = ["--cfg=web_sys_unstable_apis"] target = "wasm32-unknown-unknown" ``` This has worked for me.
Perhaps a note in the docs about using the `consts` instead of `enums`?
@toasteater For people coming from the Godot docs. They may look for enums that don't exist.
If one tries to copy the `Fds` struct up into their app to implement it the error is: ``` error[E0053]: method `start_service` has an incompatible type for trait ``` The...