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: packages/@sanity/form-builder/src/patch/primitive.js
+1-1
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ export default function apply(value, patch) {
31
31
}
32
32
33
33
if(patch.path.length>0){
34
-
thrownewError(`Default container cannot apply deep operations. Received patch with type "${patch.type}" and path "${patch.path.join('.')}"`)
34
+
thrownewError(`Cannot apply deep operations on primitive values. Received patch with type "${patch.type}" and path "${patch.path.join('.')} that targeted the value "${JSON.stringify(value)}"`)
0 commit comments