-
Notifications
You must be signed in to change notification settings - Fork 38
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
Perfect conversions from JsValue -> arbitrary Rust types -> JsValue #142
Comments
I might want to go ahead and just implement a fix for this issue: boa-dev/boa#1975 |
I'm trying to figure out the proper way to convert a Rust type into a JsValue in boa, I think it's to use |
Follow this conversation: boa-dev/boa#1971 (comment) |
Once this is approved boa-dev/boa#1989 make sure to pull request the rest of the integer conversions to JsValue |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's becoming apparent that Azle really needs to be able to convert to and from JsValue's generally. I think this is the root of my serde Serialize problems with Candid Nat, and is one of the major issues I am waiting on in boa and to get cross-canister calls to work.
Perhaps I should start by just implementing the conversions myself, if it goes well I can integrate them into boa and do a pull request to hopefully have it upstreamed.
Implement this first:
i128
toJsValue
conversions boa-dev/boa#1970The text was updated successfully, but these errors were encountered: