WebAssembly / wasi-config

10 stars 8 forks source link

feat(*): Adds initial config interface implementation #4

Closed thomastaylor312 closed 9 months ago

thomastaylor312 commented 10 months ago

This is the most basic functionality needed to have a shared config interface that all components could use. It's goal is simplicity. There are many things we could add/polish, and all of those are called out in the documentation. For reference, this is what we are using in wasmCloud, but we aren't married to the interface as is. What we want is the ability for any runtime to be able to provide configuration to the components it is running in a standardized way. That will make it possible to actually have the cross runtime/platform experience that components promise

thomastaylor312 commented 10 months ago

Please note that I'll be intermittently available the rest of the week and completely unavailable next week, so if I don't respond, that is why!

thomastaylor312 commented 10 months ago

Great question @lann! So there are definitely some distinct differences between KV and config. But more importantly, the ultimate goal here are interfaces that increase interoperability. This is the absolute bare minimum interface that heads towards that goal and allows a component to indicate very clearly that "I am looking for config" rather than a datastore. Some additional points:

thomastaylor312 commented 9 months ago

Hey all (particularly @Mossaka and @devigned)! Now that we're in the new year, I'd like to circle back to this and see if we can get it approved or have a concrete list of things to change. Please let me know your thoughts!