Merge pull request #419 from whatsthebeef/master

Added note that objects will not be side-loaded if root is set to false
This commit is contained in:
Santiago Pastorino 2013-10-25 16:16:12 -07:00
commit e103569c22

View File

@ -547,6 +547,10 @@ this:
}
```
When side-loading data, your serializer cannot have the `{ root: false }` option,
as this would lead to invalid JSON. If you do not have a root key, the `include`
instruction will be ignored
You can also specify a different root for the embedded objects than the key
used to reference them: