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
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -678,7 +678,10 @@ Distinguishing between the `attributes` and `relationships` in the 'root' is sim
678
678
679
679
-`isRel` - a function which returns True/False for a given name.
680
680
681
-
-`isIncluded` - this property is set to `true` on items returned as an `included` record. This is useful if you wish to filter out included records when displaying data, but still want to access them as related data.
681
+
-`isData` - this property is created (set to `true`) on items returned in 'direct response' to the request. This is used to distinguish between 'direct' and 'included' records.
682
+
683
+
-`isIncluded` - this property is created (set to `true`) on items returned as an `included` record. This is used to distinguish between 'direct' and 'included' records.
684
+
682
685
683
686
These are particularly useful in `Vue` templates. For example to iterate over an item, picking out just the attributes:
0 commit comments