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: src/data/collections/mutable/MutableReference.ts
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -190,10 +190,17 @@ class RefUpdateOp<T> extends CollectionOp<T> {
190
190
}
191
191
192
192
if(this.value===undefined){
193
-
MutableObject.validationLog.debug('The field value is mandatory in class REfUpdateop');
193
+
MutableObject.validationLog.debug('The field value is mandatory in class RefUpdateop');
194
194
returnfalse;
195
195
}
196
196
197
+
if(!(this.valueinstanceofHashedObject)){
198
+
if(!HashedObject.isLiteral(this.value)){
199
+
MutableObject.validationLog.debug('The field value in class RefUpdateop must either be a HashedObject instance or a pure literal (a constant, without any HashedObjects within).');
0 commit comments