I’m nearly done with an app that uses both KV and Durable Objects.
I found some logic issues with my DOs… and while going through the process. I came up with this question… or stream of thought…
-
If every Durable Object has an unique Id (or stub) to identify it…
-
Why when you write to a DO do you have to use another key for the piece of data?
But I guess if you’re storing many types of data in one DO… you need a key to identify that type of data.
So it would seem… my DOs are very singular (micro) in nature. I store one object only in the DO which just happens to be under one key.
Does this sound correct?
Am I making my DOs to singular?