-
Notifications
You must be signed in to change notification settings - Fork 52
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
JS Functions can accept struct params as JS objects #734
JS Functions can accept struct params as JS objects #734
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. I wodner if we should also make this clear in the typescript types or let it be under the hood.
All that's left is one test that's returning an error. I think it's something to do with a receiveBuffer being created when the generated WASM doesn't call for one, am investigating. Edit: Found the cause. Opened #739 |
Need to do some generation in other languages, but this is good to review now. |
Waiting on #742 to be merged before I update this (so I can revert the CyclicStruct feature tests) |
This reverts commit f26a30e.
Fixes #720.
TODO:
StructTypeName | StructTypeName_Obj
labeling in typescript