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 better resolving for adapters/serializers #26

Open
igorrKurr opened this issue Jul 20, 2015 · 0 comments
Open

Add better resolving for adapters/serializers #26

igorrKurr opened this issue Jul 20, 2015 · 0 comments

Comments

@igorrKurr
Copy link
Member

We need to provide resolving and registering for adapters/serailizers like regular ember app does, but also for offline ones, and maybe add some methods to store, like lookupOfflineAdapter.
This can look like that:

//app/adapters/application.js
var offline = LFAdapter.extend(offlineMixin, {...})
var online = RESTAdapter.extend(onlineMixin, {....})

export {offline, online}

Or add to app/adapters ...-offline adapters or separate offline folder from which we can resolve adpaters for offline.

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