We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Cloudflare's Queue and Key Value implementations rely on this crate. But they both use the default serializer because of their usage of to_value:
It would be nice if the Serializer::new() used in https://github.com/RReverser/serde-wasm-bindgen/blob/main/src/lib.rs#L77-L80 could return an overridable serializer. This can be done using a mutable static.
Serializer::new()
The text was updated successfully, but these errors were encountered:
It's not a good idea to change global state in ways that will affect all 3rd-party code in non-obvious and, likely, breaking ways.
If you want those libraries to use a different or configurable serializer, it's better to add that to libraries themselves.
Sorry, something went wrong.
No branches or pull requests
Cloudflare's Queue and Key Value implementations rely on this crate. But they both use the default serializer because of their usage of to_value:
It would be nice if the
Serializer::new()
used in https://github.com/RReverser/serde-wasm-bindgen/blob/main/src/lib.rs#L77-L80 could return an overridable serializer. This can be done using a mutable static.The text was updated successfully, but these errors were encountered: