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

Handle Relationship in Ember-CLI #117

Open
s12chung opened this issue May 29, 2015 · 0 comments
Open

Handle Relationship in Ember-CLI #117

s12chung opened this issue May 29, 2015 · 0 comments

Comments

@s12chung
Copy link

i'm wondering how you would set ember cli working with localstorage-adapters relationship.

the LOC in question is this: https://github.com/kurko/ember-localstorage-adapter/blob/master/localstorage_adapter.js#L408

basically, my app is structured such that the ApplicationAdapter is a ActiveModelAdapter, so I have to define a file for each adapter for my other models.

All of them defined as such:

import DS from 'ember-data';

export default DS.LSAdapter;

but the container add some extra stuff that makes: https://github.com/kurko/ember-localstorage-adapter/blob/master/localstorage_adapter.js#L408 not work.

I understand why it's there. If the Adapters aren't the same, it might break.

Any ideas? I'm open to patching this (instead of the monkey patch in my code).

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