blakelee
10/25/2024, 6:12 PMstore.fresh
and I put in a Key.Read
similar to how the example shows it with a NotesKey
. However in the example it has this line require(key is NotesKey.Write)
but when I call store.fresh
it hits the writer and throws an exception because it's expecting only Key.Write
. I guess what I'm wondering is, is there a case where the example is right? Or should I be expected to handle all sorts of keys in my source of truth for the writer? store.fresh
create a read request which is why I wasn't expecting the write
The example I was referencing aboveMatthew Ramotar
10/25/2024, 7:26 PMblakelee
10/25/2024, 7:30 PMMatthew Ramotar
10/25/2024, 7:48 PM