Cronicle icon indicating copy to clipboard operation
Cronicle copied to clipboard

Question: How to enforce unique title?

Open mikeTWC1984 opened this issue 4 years ago • 0 comments

I see you can add events using same title, so you can have N events with same title, and this is true for any other item (plugin, api key, etc). I see that "create" apis just do unshift. I check the docs of storage, I see "put" method will replace the item if it exists. Is it possible to throw exception on conflict, rather than replace?

mikeTWC1984 avatar Nov 26 '20 18:11 mikeTWC1984