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

loading-time parent store references (singleton mixins) #145

Open
avnil007 opened this issue Jun 1, 2016 · 0 comments
Open

loading-time parent store references (singleton mixins) #145

avnil007 opened this issue Jun 1, 2016 · 0 comments

Comments

@avnil007
Copy link

avnil007 commented Jun 1, 2016

While defining the store, provide direct reference to the parent store object. In Store.define(), extract parent store type, and mix in its attributes. This logic (singleton mixins) can be done for regular models too.

Currently, it can be done specifying _owner in store definition, but it doesn't mix in owner's properties. This feature is important for ad-hoc per page stores.

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