joshua-mo-143/chamber

todo: Minor architecture re-write

Closed this issue · 0 comments

Currently we use a struct that includes all of the impl as the app state. The aim is to include the part that does the database transactions as its own thing, then include it in a larger state that also handles retrieving the keyfile data and locked status then add that as the struct. This will allow us to do three things:

  1. Allow the database impl to do only the database part - so we will need to add the non-database parts to the server most likely
  2. Support multiple SQL backends without having to re-implement more than just the SQL part
  3. We can do things like supporting platform specific tooling (ie shuttle-persist for Shuttle)

Status: Done on refactor branch, just needs a PR