ember-sync icon indicating copy to clipboard operation
ember-sync copied to clipboard

No container in JSONSerializer

Open Leooo opened this issue 9 years ago • 1 comments

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)

Leooo avatar Apr 11 '15 13:04 Leooo

Could you send a PR updating the README?

kurko avatar Jun 12 '15 00:06 kurko