You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks. If memory serves (and that's a big if), this may have been written for a pre-0.2 drop of tools where composing via functions didn't work as well as intended, and copied around / not updated despite more recent tools addressing that issue. Anyway, agree the statement needs removing!
The docs state in several places that you must use an interface to exports from other components but this isn't correct. You can compose together two components via an exported function. I did a prototype here https://github.com/jsturtevant/csharp-components-demos/tree/main/adder-wrapper
https://component-model.bytecodealliance.org/language-support/rust.html#exporting-an-interface-with-cargo-component
https://component-model.bytecodealliance.org/language-support/csharp.html#building-a-component-that-exports-an-interface
fyi @lukewagner
The text was updated successfully, but these errors were encountered: