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
{{ message }}
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.
Hi @bhje, since this is an issue with the guides the proper repository to file the bug is emberjs/guides.
I went ahead and fixed it so you don't need to open it there :)
Thanks for reporting!
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The code example for app/serializers/post.js should be authors not author.
Occurrence #1
export default DS.JSONSerializer.extend(DS.EmbeddedRecordsMixin, {
attrs: {
author: {
serialize: 'records',
deserialize: 'records'
}
}
});
Occurrence #2
export default DS.JSONSerializer.extend(DS.EmbeddedRecordsMixin, {
attrs: {
author: { embedded: 'always' }
}
});
The text was updated successfully, but these errors were encountered: