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

Compatibility with ember-data #420

Closed
gonvaled opened this issue Apr 13, 2015 · 7 comments
Closed

Compatibility with ember-data #420

gonvaled opened this issue Apr 13, 2015 · 7 comments

Comments

@gonvaled
Copy link

Is it possible to have ember-model alongside ember-data? I have been using ember-model in the past for some models, and ember-data for others, without issues, but starting with ember-model@0.0.13 (I think) there seem to be conflicts:

Uncaught Error: Assertion Failed: The initializer 'data-adapter' has already been registered
@GavinJoyce
Copy link
Collaborator

You'll need to rename store to something like ember-model-store, adapter to something like ember-model-adapter and model to something like ember-model-model to avoid container naming conflicts with ember-data.

I'll be likely kicking off a migration from Ember Model to Ember Data in the next few weeks and I'll submit a PR then if someone hasn't already. It should be pretty straightforward.

@rrussell
Copy link

Someone has migrated from Ember-Data to Ember-Model?

@GavinJoyce
Copy link
Collaborator

@rrussell I doubt it, we're going from ember-model to ember-data

@rrussell
Copy link

@GavinJoyce I started working a project with ember-data, but now the CTO wants change to ember-model.
Why migrate to ember-data? Some strong reason or issue with ember-model?

@spectras
Copy link
Contributor

spectras commented Oct 2, 2015

Excellent question. I wonder what the status of ember-model is.
I believe ember-data is still not very good right now. It's poorly documented, the source is full of todos and fixmes, which is pretty scary, and from what I have seen, it doesn't do much more than ember-model, yet it's 3 times bigger.

It would be great to have some input from ember-model maintainers.

@GavinJoyce
Copy link
Collaborator

It's now possible to use ember-model and ember-data side by side:

https://github.com/ebryn/ember-model/releases/tag/v2.18.0

@brandonweiss
Copy link

@GavinJoyce 😍

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

5 participants