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

fix(provider-bindgen): remove argument bundling #1653

Conversation

vados-cosmonic
Copy link
Contributor

Feature or Problem

Up until now, for wasmbus (i.e. msgpack) compatibility, bindgen has had to bundle arguments to functions into structs that were dynamically generated by bindgen.

Given that wRPC can/must individually transmit arguments, we should no longer need this code, and can just deal with arguments and no bundling.

This commit removes bundling and argument handling strategies options and functionality from bindgen.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

Up until now, for wasmbus (i.e. msgpack) compatibility, bindgen has
had to bundle arguments to functions into structs that were
dynamically generated by bindgen.

Given that wRPC can/must individually transmit arguments, we should no
longer need this code, and can just deal with arguments and no
bundling.

This commit removes bundling and argument handling strategies options
and functionality from bindgen.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
@vados-cosmonic vados-cosmonic requested a review from a team as a code owner March 12, 2024 09:08
Copy link
Member

@brooksmtownsend brooksmtownsend left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 Love PRs with more removals than additions

@vados-cosmonic vados-cosmonic merged commit 1248400 into wasmCloud:main Mar 12, 2024
43 checks passed
@vados-cosmonic vados-cosmonic deleted the fix(provider-bindgen)=remove-argument-bundling branch March 12, 2024 14:03
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.

None yet

2 participants