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

Store creation is too inflexible #32

Open
BinaryMuse opened this issue Jun 12, 2014 · 1 comment · May be fixed by #37
Open

Store creation is too inflexible #32

BinaryMuse opened this issue Jun 12, 2014 · 1 comment · May be fixed by #37
Labels

Comments

@BinaryMuse
Copy link
Owner

There's no good way to create reusable bits of stores, for example, default methods, action handlers, or initialize methods. See #31 for a good example.

Mixins could certainly do the trick (merge action hashes, call multiple initialize methods, mix in other methods and properties), but I'm not sure if it's the best solution for the problem.

@BinaryMuse BinaryMuse added the api label Jun 12, 2014
@brigand
Copy link

brigand commented Jun 13, 2014

Always better to make the api more flexible than adding features for specific problems :-)

If #31 can be implemented as a mixin or other kind of extension, that's ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants