WebAssembly / wasi-keyvalue

27 stars 10 forks source link

Refactor and streamlining of the keyvalue interfaces #41

Closed thomastaylor312 closed 2 months ago

thomastaylor312 commented 3 months ago

This is a wide ranging PR focused on trimming down and streamlining the keyvalue interface. This was a collaborative effort between Spin maintainers (@kate-goldenring and @dicej), wasmCloud maintainers (@thomastaylor312), @lukewagner, @Mossaka, and many others. Some of the key changes include:

After noodling on it some more with involved parties, we decided to keep the watch interface in here as well, whereas we were initially thinking we could just use wasi:messaging instead.

thomastaylor312 commented 3 months ago

Ok, I think I have addressed most comments. @kate-goldenring @dicej would love to make sure you're still good with everything as well

thomastaylor312 commented 2 months ago

Heads up that I made one more commit with the changes discussed in https://github.com/WebAssembly/wasi-keyvalue/pull/41#discussion_r1548559842

thomastaylor312 commented 2 months ago

Ok, I have pushed an update for the list-keys to use a cursor. Please let me know how it looks

thomastaylor312 commented 2 months ago

Ok, looks like we have a good consensus! Going to go ahead and merge. If there were any other missing docs or issues, let me know and I'll open a follow up