You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using DS.JSONSerializer with DS.EmbeddedRecordsMixin while trying to get emberfire compatible with 1.13.x (FirebaseExtended/emberfire#283).
The embedded records are being correctly extracted into the JSON-API included property, but they are not being pushed into the store. This results in the error:
You looked up the 'posts' relationship on a 'author' with id author_1 but some of the associated records were not loaded.
Hi @tstirrat. Thanks for tracking down the issue. Go ahead and open a pr against the master branch and prefix your commit message with [BUGFIX release], then the Ember Data team will cherry-pick the commit onto the release branch.
I am using
DS.JSONSerializer
withDS.EmbeddedRecordsMixin
while trying to get emberfire compatible with 1.13.x (FirebaseExtended/emberfire#283).The embedded records are being correctly extracted into the JSON-API
included
property, but they are not being pushed into the store. This results in the error:Initial payload given to
serializer.normalize
:Serializer normalizes this into:
Here is a minimal test to show you what is happening:
http://jsfiddle.net/3eff3bsz/
The culprit is _normalizeResponse #443 not passing through the
included
property.I'm willing to make a PR for this but do I branch off the
release
branch to get it into 1.13.x?The text was updated successfully, but these errors were encountered: