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

add store.models #112

Closed
ampatspell opened this issue Aug 24, 2018 · 0 comments
Closed

add store.models #112

ampatspell opened this issue Aug 24, 2018 · 0 comments

Comments

@ampatspell
Copy link
Owner

ampatspell commented Aug 24, 2018

  • factoryFor(name)
  • create(name, props)
  • consider exposing generated models
store.models.generate('foo', Mixin, {}); // throws if exists
store.models.factoryFor('foo') // proxy or null
store.models.create('foo', { ok: true });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant