Skip to content

Commit

Permalink
[DOC release] Add note to embedded records mixin
Browse files Browse the repository at this point in the history
As mentioned in #4575, the fact that embedded records rely on their own serializer can cause some confusion when using different serializers inside an application.
  • Loading branch information
k-fish authored Dec 17, 2016
1 parent 7f4c840 commit 61dc70f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion addon/serializers/embedded-records-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ var camelize = Ember.String.camelize;
To set up embedded records, include the mixin when extending a serializer,
then define and configure embedded (model) relationships.
Note that embedded records will serialize with the serializer for their model instead of the serializer in which they are defined.
Below is an example of a per-type serializer (`post` type).
```app/serializers/post.js
Expand Down

0 comments on commit 61dc70f

Please sign in to comment.