ramdb2-client 2.0.0-alpha.3 → 2.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -135,6 +135,10 @@ An object always comes **whole**: its stored fields, its foreign keys, its compu
|
|
|
135
135
|
relation that was not loaded throws a `RelationNotLoadedError`: a getter never sends a request on its own, so there
|
|
136
136
|
is no hidden request per row.
|
|
137
137
|
|
|
138
|
+
The `see` permission of the server applies to the relations: an object the user may not see is missing from a list
|
|
139
|
+
relation, and an object relation gives `null`, even when its foreign key is set. A `@restricted` field the user may not read gives `null` too;
|
|
140
|
+
a draft sends only the changed fields, so it is never written back.
|
|
141
|
+
|
|
138
142
|
A list relation comes whole, without filter or pagination. To filter or paginate the children, query their type
|
|
139
143
|
with `$in` on the ids of the parents.
|
|
140
144
|
|
package/package.json
CHANGED