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
Copy file name to clipboardExpand all lines: README.md
+2
Original file line number
Diff line number
Diff line change
@@ -771,6 +771,8 @@ For many of these options, more information is provided in the [Usage](#usage) s
771
771
-`cleanPatchProps` - If cleanPatch is enabled, an array of `_jv` properties that should be preserved - `links`, `meta`, and/or `relationships`. (defaults to `[]`).
772
772
-`recurseRelationships` - If `false`, replaces recursive relationships with a normalised resource identifier (i.e `{ _jv: { type: 'x', id: 'y' } }`). (defaults to `false`).
773
773
-`maxStatusID` - Sets the highest status ID that will be used in `status` before rolling round to 1 again. (defaults to `-1` - no limit).
774
+
-`relatedIncludes` - When returning the original object from `patch|post|deleteRelated` methods, also include related objects (defaults to `true`).
Copy file name to clipboardExpand all lines: src/config.js
+2
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@
12
12
* @property {string[]} cleanPatchProps='[]' - If cleanPatch is enabled, which _jv props (links, meta, rels) should be kept?
13
13
* @property {boolean} recurseRelationships=false - Allow relationships to be recursive?
14
14
* @property {integer} maxStatusID=-1 - The maximum number of status IDs to generate before looping. Default is unlimited.
15
+
* @property {boolean} relatedIncludes=true - When returning the original object from *related 'write' methods, also include related objects. Default is true.
0 commit comments