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

feat: derive Encode and Subscribe, not EncodeSync #1690

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

rvolosatovs
Copy link
Member

@rvolosatovs rvolosatovs commented Mar 18, 2024

Feature or Problem

While Encode and Subscribe traits do support async values, we do not currently support either stream<T>, future<T> or resource types in WIT definitions we generate bindings for, therefore we can always assume that values we generate these implementations for do not have any asynchronous values embedded in them.

Related Issues

Release Information

Consumer Impact

This allows binding generation for option, result etc. types - everything is supported except for preview3 async and resources.

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

This does not support async yet, but should be good enough for now

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
@rvolosatovs rvolosatovs requested review from a team as code owners March 18, 2024 13:24
@rvolosatovs rvolosatovs enabled auto-merge (rebase) March 18, 2024 13:24
@rvolosatovs rvolosatovs added blocking capability-providers Issues related to in-tree capability providers labels Mar 18, 2024
@rvolosatovs rvolosatovs merged commit 37bb1f6 into wasmCloud:main Mar 18, 2024
42 checks passed
@rvolosatovs rvolosatovs deleted the feat/wrpc-encode-subscribe branch March 18, 2024 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocking capability-providers Issues related to in-tree capability providers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants