feat(example): add logging and keyvalue for tutorial use #1266
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Feature or Problem
This PR adds
wasi:keyvalue
andwasi:logging
to the wit dependencies for both of our hello world examples for use in the quickstart tutorials. Without this, developers would need to manually modify thedeps.toml
file and runwit-deps
update, so now during the quickstart documentation they can simply add these imports to theirwit/hello.wit
file and then use the capabilities.This is only a temporary fix. Ideally these examples don't come with a wit deps directory at all and the only wit modification needed will be to specify custom import/exports, and a crate like
wasmcloud-actor
would be used to wrap wit definitions. I think that it's important to start here as a baseline and then remove some of the low level WebAssembly concepts as we can, as this level of detail will be necessary for languages where we don't have some sort of higher level SDK or library support.Related Issues
Enables wasmCloud/wasmcloud.com#250
Release Information
N/A
Consumer Impact
Testing
Unit Test(s)
Acceptance or Integration
Manual Verification