Skip to main content

Function: overridingProposed()

overridingProposed(fields, edit): EntryEdit

Defined in: data/edit-extension.ts:75

Marks the Fields of edit that replace what the transaction body proposed on the same Entry (ADR 0042). An unmarked write to a proposed Field still throws in dev mode.

edits.set(id, overridingProposed(['start'], { start: placed }));

A reviewer finds every override by searching for this call.

Parameters​

fields​

readonly FieldKey[]

edit​

EntryEdit

Returns​

EntryEdit