inaka / sumo_db

Erlang Persistency Framework
http://inaka.github.io/sumo_db/
Apache License 2.0
174 stars 37 forks source link

Unify `sumo_backend` and `sumo_store` in a single behaviour #320

Open cabol opened 7 years ago

cabol commented 7 years ago

Currently, the only callback exposed by sumo_backend is start_link, and that function receives a list of options, which can be handled by sumo_store:init/1 as well, so there is no need to keep two separated behaviours, the proposal would be create a single one called sumo_repo.