Skip to content

Commit f04b552

Browse files
authored
Update README.md
1 parent 9d48539 commit f04b552

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1036,8 +1036,7 @@ Will get you the following payload by default:
10361036
}
10371037
```
10381038

1039-
Note: When passing `include` with `fields` params, `relationships` object does not return.
1040-
To include it, add `fields[posts]=comments` to request.
1039+
Note: When passing `include` and `fields` params together, relationships not included in the `fields` parameter will not be serialized. This will have the side effect of not serializing the included resources. To ensure the related resources are properly side loaded specify them in the `fields`, like `fields[posts]=comments,title,&include=comments`.
10411040

10421041
#### Resource Meta
10431042

0 commit comments

Comments
 (0)