Is the DS.EmbeddedRecordsMixin compatible with the JsonApiAdapter & JsonApiSerializer?


I’m using Ember 1.13.4 & Ember data 1.13.5 with Ember CLI. I am using the default JsonApiAdapter & serializer & noticed that when I use the DS.EmbeddedRecordsMixin with the serializer although I get the “included” key in the payload the “attributes” key contains all null values & instead the attributes appear at the root of the payload. This invalidates the json-api format.

Should the mixin actually work with json-api or should I avoid it?



This was just fixed and released


Thanks for the reply.

I wasn’t very clear in my post but I get the “included” key & the records within it. But, I found that although the root “attributes” key correctly contained the model record, all of the model field values were null.