Skip to content
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

Allow Configuration of Serialization #31

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cwfitzgerald
Copy link

Partially fixes #26. Built off of #28.

This wires up being able to modify the serialization of types in ways that serde_wasm_bindgen supports. We find use for both of these options within our project as the surrounding TS code uses null for optional types, as well as always using objects as opposed to Maps.

I've tried to keep the code as contained and reasonable as possible and glad to explain any of the decisions I've made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow Passing Options to serde_wasm_bindgen
1 participant