A non-empty plain equality map of string or finite-number values
A refusal reason, or a copy of where
Validates a conditional predicate and its update payload, returning private copies of both.
A non-empty plain equality map of string or finite-number values
A plain update payload with at least one own field
A refusal reason, or copies of where and data
Validates a conditional predicate (and, for an update, its payload) and returns private copies of both.
Validation runs on the copies, and a conditional write sends the copies, so the predicate the backend receives is exactly the one that was validated — even when the caller's object changes its keys or values between reads. An own
__proto__key is refused in the predicate and in the payload. Refusal reasons contain no caller-supplied field names or values.