Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support creation of custom store modules #10

Closed
christhekeele opened this issue Oct 31, 2016 · 2 comments
Closed

Support creation of custom store modules #10

christhekeele opened this issue Oct 31, 2016 · 2 comments

Comments

@christhekeele
Copy link
Owner

christhekeele commented Oct 31, 2016

Currently there's the hidden Mnemonix.Singleton that kind of does this.

Preferably you'd be able to insert the entire Mnemonix DSL into a module, in addition to the singleton variant. Something like Mnemonix.API and Mnemonix.API.Singleton.

Ideally start_link would be overridable and the implementation would do more than just defer to Mnemonix, but instead make the direct GenServer calls. So the Mnemonix module would eat our own dogfood here and simply use Mnemonix.API.

This would mostly be hiding and extending the Mnemonix API inside a library offering like Phoenix.CacheStore or something that could add extra use-case specific functions.

Needs to be determined how this would play with #9 if both were implemented.

@christhekeele
Copy link
Owner Author

christhekeele commented Nov 7, 2016

Mnemonix.API is implemented but not documented. Mnemonix.Singleton is outdated and undocumented.

@christhekeele
Copy link
Owner Author

Closed in v0.6.0.

@christhekeele christhekeele self-assigned this Jan 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant