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-wit-bindgen): exported bundled arg invocation name #1583

Conversation

vados-cosmonic
Copy link
Contributor

Feature or Problem

This commit fixes a bug in determining the struct name for bundled exports. Code that was using expected a WIT interface name was receiving a WIT inteface path (which is .-delimited), and attempting to use it directly, rather that converting to a valid Rust identifier.

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

@vados-cosmonic vados-cosmonic requested a review from a team as a code owner February 26, 2024 17:27
@vados-cosmonic vados-cosmonic force-pushed the fix(provider-wit-bindgen)=exported-bundle-args-invocation-naming branch 2 times, most recently from f5f070c to a3382ae Compare February 26, 2024 20:34
This commit fixes a bug in determining the struct name for bundled
exports. Code that was using expected a WIT interface name was
receiving a WIT inteface path (which is `.`-delimited), and attempting
to use it directly, rather that converting to a valid Rust identifier.

Signed-off-by: Victor Adossi <vadossi@cosmonic.com>
@vados-cosmonic vados-cosmonic force-pushed the fix(provider-wit-bindgen)=exported-bundle-args-invocation-naming branch from a3382ae to 24068ae Compare February 26, 2024 21:07
@vados-cosmonic vados-cosmonic merged commit 51c4f8e into wasmCloud:main Feb 26, 2024
43 checks passed
@vados-cosmonic vados-cosmonic deleted the fix(provider-wit-bindgen)=exported-bundle-args-invocation-naming branch February 26, 2024 21:25
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.

2 participants