Storage system abstraction is needed #9
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently the item<>stash interaction seems nicely abstracted away but the storage system is much more messy. The item<>storage interactions are interspersed in the web ui application code. There should probably be a storage abstraction of some kind.
On top of that, I'm not a huge fan of the complex item storage we have now since it makes the system fragile (for example see #8). It's not immediately clear to me why we need to have for example each socketed item stored separately. On top of that I'm also not sure we should be trying to re-create items from the database properties instead of just reading them directly from the raw item bytes. The latter would reduces the different ways items can be created to a single place and makes it harder to create inconsistencies.