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

No container in JSONSerializer #32

Open
Leooo opened this issue Apr 11, 2015 · 1 comment
Open

No container in JSONSerializer #32

Leooo opened this issue Apr 11, 2015 · 1 comment

Comments

@Leooo
Copy link

Leooo commented Apr 11, 2015

I had the issue described in http://stackoverflow.com/questions/21724343/no-container-in-jsonserializer on my app, using an online store initializer as described in the docs. Solution was to get rid of declaring the serializer in CustomOnlineAdapter definition:

var CustomOnlineSerializer = ActiveModelSerializer.extend();
var CustomOnlineAdapter = ActiveModelAdapter.extend({
  //serializer: CustomOnlineSerializer.create(), http://stackoverflow.com/questions/21724343/no-container-in-jsonserializer
}); 

(with ember-cli & Ember 1.11)

@kurko
Copy link
Owner

kurko commented Jun 12, 2015

Could you send a PR updating the README?

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

2 participants