I'm looking for some recommendations. I'm doing a ...
# store
b
I'm looking for some recommendations. I'm doing a
store.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 above
m
Hey Blake - apologies, the example appears to be wrong. It will fail because we write to SOT on fresh network read responses too
b
Ah gotcha. Thanks for responding.
👍 1
m
Made a note about this, thanks for surfacing